Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on DRY is an over-rated programming principle?. Parent comment
`makePizza :: PizzaType -> [Toping] -> IO (Pizza)`
Seems to carry all that information by just accepting a PizzaType symbol and a list of toppings, `IO` communicating the side effect.
There are no comments on this comment yet.
`makePizza :: PizzaType -> [Toping] -> IO (Pizza)`
Seems to carry all that information by just accepting a PizzaType symbol and a list of toppings, `IO` communicating the side effect.