News for hackers. Stuff that matters.
Re:Why Haskell? by tobz619 on Thursday September 12, 2024 @07:48AM (#41519744)
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
Re:Why Haskell? by kyjasdfwus on Thursday September 12, 2024 @08:05AM (#41519850)
Yep, Scala is influenced by Haskell.
Re:Why Haskell? by iso8859-1 on Thursday September 12, 2024 @08:54AM (#41520321)
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.