2 ms·
? is bind for Either monad if you squint. `context(e?)` becomes `e >>= \x -> context(x)`
by Ericson2314 10y ago
? is bind for Either monad if you squint.
`context(e?)` becomes `e >>= \x -> context(x)`
- majewsky 10y agoYou mean `e >>= context` ? ;)
- Ericson2314 10y agoHah! I should have been clear about CPSing things first so I didn't need to eta-expand :)