Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tobz619
· 2y ago · 0 comments
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
Comments
[–]
iso8859-1
2y ago
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.
[–]
kyjasdfwus
2y ago
Yep, Scala is influenced by Haskell.