Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
dmitriid
5y ago
0 comments
Share
Of course they do. Of course they are.
The simplest code change turns the code in to a monadic/functor soup.
undefined | Better HN
0 comments
default
newest
oldest
agentultra
5y ago
... and if you program in Haskell that's exactly what you want. Programming with these abstractions is common and well supported in Haskell.
whateveracct
5y ago
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.
j
/
k
navigate · click thread line to collapse