Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on What Monoids teach us about software. Parent comment
It's incredibly useful, since you can just go into Hoogle or some similar tool and query a function that:
Monoid m => (a -> m) -> [a] -> m
1 - Well, the autodoc write those comments for you.
There are no comments on this comment yet.
It's incredibly useful, since you can just go into Hoogle or some similar tool and query a function that:
And it will tell you it's called `foldMap`, and is available by default. Not long ago I have made this exact query because I forgot the name.1 - Well, the autodoc write those comments for you.