News for hackers. Stuff that matters.
Re:Another Scala rant on HN by asdasf on Tuesday December 03, 2013 @01:16PM (#6842015)
ADTs are algebraic data types. They are quite simple, and have nothing to do with the IO type which haskell uses to constrain side effects. An ADT is just a type made up of ORs and ANDs:

    data Bool = False | True
    data Tree a = Leaf a | Branch (Tree a) (Tree a)

There are no comments on this comment yet.