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

Data.Either

Description

Either operations.

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

Basically forM.

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

isLeft :: Either a b -> Bool Source #

Usual isLeft.

isRight :: Either a b -> Bool Source #

Usual isRight.