4 ms·
Haskell also has GADTs: https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/gadt.html https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/gadt..., first
by tobz619 2y ago
Haskell also has GADTs: https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/gadt.html 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
- kyjasdfwus 2y agoYep, Scala is influenced by Haskell.
- iso8859-1 2y agoYou'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.