More than a couple of people have asked me to talk about what it's like to program in Haskell. As a first attempt, here's a little window into the experience via something incredibly banal, but IMO hugely motivating.
There is no Alternative for Either because there is no empty. Have a look at Data.Functor.Alt.
-
-
He's being sincere. It is a good exercise to learn about Alt and ponder why Either has Alt but not Alternative. Here's the link for Alt http://hackage.haskell.org/package/semigroupoids-5.3.1/docs/Data-Functor-Alt.html …
- Show replies
New conversation
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
), popped back a set of results, the second of which is exactly equivalent to my `orElse`:
<|>, defined in Control.Applicative:
