Hacker News new | ask | show | jobs
by dmitriid 2273 days ago
Of course they do. Of course they are.

The simplest code change turns the code in to a monadic/functor soup.

2 comments

... and if you program in Haskell that's exactly what you want. Programming with these abstractions is common and well supported in Haskell.
Given what the examples are doing (describing inputs) I don't see how you solve it ergonomically without higher kinded types, which in turn leads to functors etc.