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

Daniel van den Eijkel dvde at gmx.net
Mon May 18 12:48:03 UTC 2015


Ah great, thanks!


Am 5/18/15 um 2:45 PM schrieb Roman Cheplyaka:
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150518/d1c6a60f/attachment.html>


More information about the Haskell-Cafe mailing list