[Haskell-cafe] data EitherF m1 m2 a = LeftF (m1 a) | RightF (m2 a)

Roman Cheplyaka roma at ro-che.info
Mon May 18 12:45:02 UTC 2015


It's right in transformers:
https://hackage.haskell.org/package/transformers-0.4.3.0/docs/Data-Functor-Sum.html

On 18/05/15 15:32, Daniel van den Eijkel wrote:
> Hi,
> 
> I am wondering if there is a library with a datatype like the following
> defined:
> 
> data EitherF m1 m2 a = LeftF (m1 a) | RightF (m2 a)
> 
> I could not find anything with Hoogle. Does anybody know such a thing?
> 
> Thank you & best, Daniel
> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150518/e8e7d656/attachment.sig>


More information about the Haskell-Cafe mailing list