Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Day Python Embarassed Imperative Programming. Parent comment
For example,
data Maybe a = Nothing | Just a
- The m is for "Maybe" - The a is for "a"
(>>=) (Just 3) (\ x -> Just (show x))
(>>=) Nothing (\x -> Just (show x))
Nothing >>= (\x -> Just (show x))
There are no comments on this comment yet.
For example,
data Maybe a = Nothing | Just a
For example: should returns: Just "3". better written should returns: Nothing