Proposal: add fromRight and fromLeft to Data.Either
Kosyrev Serge
_deepfire at feelingofgreen.ru
Mon May 30 13:38:34 UTC 2016
lennart spitzner <lsp at informatik.uni-kiel.de> writes:
>>>> Data.Either.Combinators.fromLeft :: a -> Either a b -> a
>>
>> This is the thing we want.
>
> Oh indeed, derp; still had the first suggestion in mind.
> (b -> (a -> b) -> Either ..)
>
> On this one i am neutral.
How should we address the part where we don't want to promote
Partiality Oriented Programming?
--
с уважениeм / respectfully,
Косырев Сергей
More information about the Libraries
mailing list