fay-base-0.19.4.1: The base package for Fay.

Safe HaskellNone

Data.Either

Description

Either operations.

Synopsis

Documentation

whenLeft :: Either a b -> (a -> Fay c) -> Fay (Maybe c)Source

Basically forM.

whenRight :: Either a b -> (b -> Fay c) -> Fay (Maybe c)Source

Basically forM.

isLeft :: Either a b -> BoolSource

Usual isLeft.

isRight :: Either a b -> BoolSource

Usual isRight.