Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Algebraic Data Types in Haskell. Parent comment
It’ll get rid of the ‘isinstance’ and give exhaustive matching. I used to use this pattern a lot when wanting ADT’s in a language without ADT’’s.
There are no comments on this comment yet.
It’ll get rid of the ‘isinstance’ and give exhaustive matching. I used to use this pattern a lot when wanting ADT’s in a language without ADT’’s.