package rea
Module Rea.ConstantSource
Constant functor, products, and applicatives.
Abstract effect representation for Constant.
from value has no effect aside from encapsulating the given value.
Constant functor
Constant applicatives
Combines booleans with && lazily.
Combines booleans with || lazily.
Combines options to return the leftmost some lazily.
Combines unit effects with bind.
Combines boolean effects with &&& lazily.
Combines boolean effects with ||| lazily.
Combines option effects to return the leftmost some lazily.
User defined
Use to implement the map capability for a constant functor.
Use to implement the pure capability for a constant with the given identity element.
Use to implement the pair capability for a constant with the given binary combine operator.
new product combine creates the dictionary for a constant product functor.
new applicative identity combine creates the dictionary for a constant applicative functor.