Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
dmitriid
6y ago
0 comments
Save
Share
Of course they do. Of course they are.
The simplest code change turns the code in to a monadic/functor soup.
0 comments
2 comments · 2 top-level
top
newest
oldest
agentultra
6y 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
6y 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