[Haskell-cafe] (no subject)
kane at kane.cx
Tue Aug 16 18:23:52 UTC 2016
This looks functionally identical to type Todo a b = Either [a] b, and Either has a Monad instance.
On 8/16/2016 8:21 PM, Corentin Dupont wrote:
> Hi guys,
> is there some library with a Monad (+Applicative, Functor...) instance of
> the following type:
> data Todo a b = Todo [a] | Done b
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4291 bytes
Desc: S/MIME Cryptographic Signature
More information about the Haskell-Cafe