News for hackers. Stuff that matters.
Re:Algebraic Data Types by rrradical on Thursday July 31, 2014 @12:21AM (#8112451)
I wrote recently about the option type specifically (called Maybe in Haskell): http://asivitz.com/posts/learn_to_love_maybe_kick_null

Swift has it, but it lets you easily subvert its meaning ('trust me, it's not null'), so I don't think it's as useful as it is in the usual functional languages.

There are no comments on this comment yet.