pandora-0.3.8: A box of patterns and paradigms
Safe HaskellSafe-Inferred
LanguageHaskell2010

Pandora.Paradigm.Structure.Modification.Prefixed

Documentation

newtype Prefixed t k a Source #

Constructors

Prefixed ((t <:.> Keyed k) := a) 

Instances

Instances details
(Monotonic (Keyed k a) (t (Keyed k a)), Setoid k) => Dictionary a k (Prefixed t k) Source # 
Instance details

Defined in Pandora.Paradigm.Structure.Modification.Prefixed

Methods

(?=) :: k -> Prefixed t k a -> Maybe a Source #

Covariant t => Covariant (Prefixed t k) Source # 
Instance details

Defined in Pandora.Paradigm.Structure.Modification.Prefixed

Methods

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

comap :: (a -> b) -> Prefixed t k a -> Prefixed t k b Source #

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

($>) :: Prefixed t k a -> b -> Prefixed t k b Source #

void :: Prefixed t k a -> Prefixed t k () Source #

loeb :: Prefixed t k (a <:= Prefixed t k) -> Prefixed t k a Source #

(<&>) :: Prefixed t k a -> (a -> b) -> Prefixed t k b Source #

(<$$>) :: Covariant u => (a -> b) -> ((Prefixed t k :. u) := a) -> (Prefixed t k :. u) := b Source #

(<$$$>) :: (Covariant u, Covariant v) => (a -> b) -> ((Prefixed t k :. (u :. v)) := a) -> (Prefixed t k :. (u :. v)) := b Source #

(<$$$$>) :: (Covariant u, Covariant v, Covariant w) => (a -> b) -> ((Prefixed t k :. (u :. (v :. w))) := a) -> (Prefixed t k :. (u :. (v :. w))) := b Source #

(<&&>) :: Covariant u => ((Prefixed t k :. u) := a) -> (a -> b) -> (Prefixed t k :. u) := b Source #

(<&&&>) :: (Covariant u, Covariant v) => ((Prefixed t k :. (u :. v)) := a) -> (a -> b) -> (Prefixed t k :. (u :. v)) := b Source #

(<&&&&>) :: (Covariant u, Covariant v, Covariant w) => ((Prefixed t k :. (u :. (v :. w))) := a) -> (a -> b) -> (Prefixed t k :. (u :. (v :. w))) := b Source #

(Monoid k, Pointable t) => Pointable (Prefixed t k) Source # 
Instance details

Defined in Pandora.Paradigm.Structure.Modification.Prefixed

Methods

point :: a :=> Prefixed t k Source #

Traversable t => Traversable (Prefixed t k) Source # 
Instance details

Defined in Pandora.Paradigm.Structure.Modification.Prefixed

Methods

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

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

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

(->>>) :: (Pointable u, Applicative u, Traversable v) => ((v :. Prefixed t k) := a) -> (a -> u b) -> (u :. (v :. Prefixed t k)) := b Source #

(->>>>) :: (Pointable u, Applicative u, Traversable v, Traversable w) => ((w :. (v :. Prefixed t k)) := a) -> (a -> u b) -> (u :. (w :. (v :. Prefixed t k))) := b Source #

(->>>>>) :: (Pointable u, Applicative u, Traversable v, Traversable w, Traversable j) => ((j :. (w :. (v :. Prefixed t k))) := a) -> (a -> u b) -> (u :. (j :. (w :. (v :. Prefixed t k)))) := b Source #

Interpreted (Prefixed t k) Source # 
Instance details

Defined in Pandora.Paradigm.Structure.Modification.Prefixed

Associated Types

type Primary (Prefixed t k) a Source #

Methods

run :: Prefixed t k a -> Primary (Prefixed t k) a Source #

unite :: Primary (Prefixed t k) a -> Prefixed t k a Source #

(||=) :: (Primary (Prefixed t k) a -> Primary (Prefixed t k) b) -> Prefixed t k a -> Prefixed t k b Source #

(=||) :: (Prefixed t k a -> Prefixed t k b) -> Primary (Prefixed t k) a -> Primary (Prefixed t k) b Source #

type Primary (Prefixed t k) a Source # 
Instance details

Defined in Pandora.Paradigm.Structure.Modification.Prefixed

type Primary (Prefixed t k) a = (t <:.> Keyed k) := a