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

Pandora.Paradigm.Primary.Transformer.Outline

Documentation

data Outline t a where Source #

Constructors

Line :: a -> Outline t a 
Outlined :: t a -> Outline t (a -> b) -> Outline t b 

Instances

Instances details
Liftable Outline Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Outline

Methods

lift :: forall (u :: Type -> Type). Covariant_ u (->) (->) => u ~> Outline u Source #

Covariant (Outline t) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Outline

Methods

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

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

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

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

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

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

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

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

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

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

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

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

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

(.#..) :: (Outline t ~ v a, Category v) => v c d -> ((v a :. v b) := c) -> (v a :. v b) := d Source #

(.#...) :: (Outline t ~ v a, Outline t ~ v b, Category v, Covariant (v a), Covariant (v b)) => v d e -> ((v a :. (v b :. v c)) := d) -> (v a :. (v b :. v c)) := e Source #

(.#....) :: (Outline t ~ v a, Outline t ~ v b, Outline t ~ v c, Category v, Covariant (v a), Covariant (v b), Covariant (v c)) => v e f -> ((v a :. (v b :. (v c :. v d))) := e) -> (v a :. (v b :. (v c :. v d))) := f Source #

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

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

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

($$>) :: Covariant u => ((Outline t :. u) := a) -> b -> (Outline t :. u) := b Source #

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

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

Applicative (Outline f) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Outline

Methods

(<*>) :: Outline f (a -> b) -> Outline f a -> Outline f b Source #

apply :: Outline f (a -> b) -> Outline f a -> Outline f b Source #

(*>) :: Outline f a -> Outline f b -> Outline f b Source #

(<*) :: Outline f a -> Outline f b -> Outline f a Source #

forever :: Outline f a -> Outline f b Source #

(<%>) :: Outline f a -> Outline f (a -> b) -> Outline f b Source #

(<**>) :: Applicative u => ((Outline f :. u) := (a -> b)) -> ((Outline f :. u) := a) -> (Outline f :. u) := b Source #

(<***>) :: (Applicative u, Applicative v) => ((Outline f :. (u :. v)) := (a -> b)) -> ((Outline f :. (u :. v)) := a) -> (Outline f :. (u :. v)) := b Source #

(<****>) :: (Applicative u, Applicative v, Applicative w) => ((Outline f :. (u :. (v :. w))) := (a -> b)) -> ((Outline f :. (u :. (v :. w))) := a) -> (Outline f :. (u :. (v :. w))) := b Source #

(Extractable t ((->) :: Type -> Type -> Type), Pointable t ((->) :: Type -> Type -> Type), Applicative t) => Interpreted (Outline t) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Outline

Associated Types

type Primary (Outline t) a Source #

Methods

run :: Outline t a -> Primary (Outline t) a Source #

unite :: Primary (Outline t) a -> Outline t a Source #

(||=) :: Interpreted u => (Primary (Outline t) a -> Primary u b) -> Outline t a -> u b Source #

(=||) :: Interpreted u => (Outline t a -> u b) -> Primary (Outline t) a -> Primary u b Source #

(<$||=) :: (Covariant j, Interpreted u) => (Primary (Outline t) a -> Primary u b) -> (j := Outline t a) -> j := u b Source #

(<$$||=) :: (Covariant j, Covariant k, Interpreted u) => (Primary (Outline t) a -> Primary u b) -> ((j :. k) := Outline t a) -> (j :. k) := u b Source #

(<$$$||=) :: (Covariant j, Covariant k, Covariant l, Interpreted u) => (Primary (Outline t) a -> Primary u b) -> ((j :. (k :. l)) := Outline t a) -> (j :. (k :. l)) := u b Source #

(<$$$$||=) :: (Covariant j, Covariant k, Covariant l, Covariant m, Interpreted u) => (Primary (Outline t) a -> Primary u b) -> ((j :. (k :. (l :. m))) := Outline t a) -> (j :. (k :. (l :. m))) := u b Source #

(=||$>) :: (Covariant j, Interpreted u) => (Outline t a -> u b) -> (j := Primary (Outline t) a) -> j := Primary u b Source #

(=||$$>) :: (Covariant j, Covariant k, Interpreted u) => (Outline t a -> u b) -> ((j :. k) := Primary (Outline t) a) -> (j :. k) := Primary u b Source #

(=||$$$>) :: (Covariant j, Covariant k, Covariant l, Interpreted u) => (Outline t a -> u b) -> ((j :. (k :. l)) := Primary (Outline t) a) -> (j :. (k :. l)) := Primary u b Source #

(=||$$$$>) :: (Covariant j, Covariant k, Covariant l, Covariant m, Interpreted u) => (Outline t a -> u b) -> ((j :. (k :. (l :. m))) := Primary (Outline t) a) -> (j :. (k :. (l :. m))) := Primary u b Source #

Hoistable Outline Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Outline

Methods

(/|\) :: forall (u :: Type -> Type) (v :: Type -> Type). Covariant_ u (->) (->) => (u ~> v) -> Outline u ~> Outline v Source #

hoist :: forall (u :: Type -> Type) (v :: Type -> Type). Covariant_ u (->) (->) => (u ~> v) -> Outline u ~> Outline v Source #

Extractable t ((->) :: Type -> Type -> Type) => Extractable (Outline t) ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Outline

Methods

extract :: Outline t a -> a Source #

Pointable (Outline t) ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Outline

Methods

point :: a -> Outline t a Source #

Covariant_ (Outline t) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Outline

Methods

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

type Primary (Outline t) a Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Outline

type Primary (Outline t) a = t a