News for hackers. Stuff that matters.
Re:Idris 2: Quantitative Type Theory in Practice by 4ad on Thursday January 27, 2022 @09:20AM (#30100846)
> I suppose the same is true in Haskell, but you don't write type constructors using '->' between the fields, so this punning is less obvious

That's exactly how you write GADTs in Haskell: https://downloads.haskell.org/~ghc/6.6/docs/html/users_guide....

There are no comments on this comment yet.