Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Haskell also has GADTs: https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/gadt..., firstly as an extension and now it's built into the latest version of this year's compiler


You're misinterpreting 'GHC2024'. It's just a language edition, a short hand of enabling a bunch of extensions. You have been able to enable GADTs for many years now, with just a single pragma. It has been built in to GHC for all these years.


Yep, Scala is influenced by Haskell.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: