Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on FizzBuzz in Too Much Detail. Parent comment
For one, I don't need to drag monads into function composition:
fizzbuzz i triggers = map (\x -> fromMaybe (show x) $ mconcat $ triggers x) [i..] fizzbuzz 1 $ \i -> [["Fizz" | i `rem` 3 == 0] ,["Buzz" | i `rem` 5 == 0] ]
There are no comments on this comment yet.
For one, I don't need to drag monads into function composition: