rosso-1.0: General purpose utility library

Data.Either.Rosso1

Description

Extends Data.Either

Synopsis

Documentation

mapLeft :: (a -> c) -> Either a b -> Either c bSource

Applies a function to the left component.

mapRight :: (b -> c) -> Either a b -> Either a cSource

Applies a function to the right component.