UNPKG

lazy-either

Version:

A lazy implementation of the Fantasy Land Either type

16 lines (8 loc) 452 B
merge - merge a list of lazyeithers into a list of results wrapped in Right. If one of them is a Left, it will not accumulate right values and only return a list of Lefts parallel? - syntactic sugar for an array of traversables into a traversable of array recover - like chain but reads Left values only. Used to recover from an error lift - a -> b -> LazyEither a b -> LazyEither c d lift becomes liftK typechecking throws handling performance