pandora-0.1.0: A box of patterns and paradigms

Safe HaskellSafe
LanguageHaskell2010

Pandora.Paradigm.Basis.Jack

Documentation

data Jack t a Source #

Constructors

It a 
Other (t a) 
Instances
Liftable Jack Source # 
Instance details

Defined in Pandora.Paradigm.Basis.Jack

Methods

lift :: Covariant u => u ~> Jack u Source #

Covariant t => Covariant (Jack t) Source # 
Instance details

Defined in Pandora.Paradigm.Basis.Jack

Methods

(<$>) :: (a -> b) -> Jack t a -> Jack t b Source #

comap :: (a -> b) -> Jack t a -> Jack t b Source #

(<$) :: a -> Jack t b -> Jack t a Source #

($>) :: Jack t a -> b -> Jack t b Source #

void :: Jack t a -> Jack t () Source #

Applicative t => Applicative (Jack t) Source # 
Instance details

Defined in Pandora.Paradigm.Basis.Jack

Methods

(<*>) :: Jack t (a -> b) -> Jack t a -> Jack t b Source #

apply :: Jack t (a -> b) -> Jack t a -> Jack t b Source #

(*>) :: Jack t a -> Jack t b -> Jack t b Source #

(<*) :: Jack t a -> Jack t b -> Jack t a Source #

forever :: Jack t a -> Jack t b Source #

Alternative t => Alternative (Jack t) Source # 
Instance details

Defined in Pandora.Paradigm.Basis.Jack

Methods

(<+>) :: Jack t a -> Jack t a -> Jack t a Source #

alter :: Jack t a -> Jack t a -> Jack t a Source #

Distributive t => Distributive (Jack t) Source # 
Instance details

Defined in Pandora.Paradigm.Basis.Jack

Methods

(>>-) :: Covariant t0 => t0 a -> (a -> Jack t b) -> (Jack t :.: t0) b Source #

collect :: Covariant t0 => (a -> Jack t b) -> t0 a -> (Jack t :.: t0) b Source #

distribute :: Covariant t0 => (t0 :.: Jack t) a -> (Jack t :.: t0) a Source #

Exclusive t => Exclusive (Jack t) Source # 
Instance details

Defined in Pandora.Paradigm.Basis.Jack

Methods

exclusive :: Jack t a Source #

Covariant t => Pointable (Jack t) Source # 
Instance details

Defined in Pandora.Paradigm.Basis.Jack

Methods

point :: a -> Jack t a Source #

Traversable t => Traversable (Jack t) Source # 
Instance details

Defined in Pandora.Paradigm.Basis.Jack

Methods

(->>) :: (Pointable u, Applicative u) => Jack t a -> (a -> u b) -> (u :.: Jack t) b Source #

traverse :: (Pointable u, Applicative u) => (a -> u b) -> Jack t a -> (u :.: Jack t) b Source #

sequence :: (Pointable u, Applicative u) => (Jack t :.: u) a -> (u :.: Jack t) a Source #

jack :: (a -> r) -> (t a -> r) -> Jack t a -> r Source #