Hacker News new | ask | show | jobs
by Ericson2314 3437 days ago
? is bind for Either monad if you squint.

`context(e?)` becomes `e >>= \x -> context(x)`

1 comments

You mean `e >>= context` ? ;)
Hah!

I should have been clear about CPSing things first so I didn't need to eta-expand :)