:: a -> Maybe b -> Either a b package:extra

Given a Maybe, convert it to an Either, providing a suitable value for the Left should the value be Nothing.
\a b -> maybeToEither a (Just b) == Right b
\a -> maybeToEither a Nothing == Left a