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

Pandora.Paradigm.Inventory.Some.Imprint

Documentation

newtype Imprint e a Source #

Constructors

Imprint (e -> a) 

Instances

Instances details
Semigroup e => Extendable ((->) :: Type -> Type -> Type) (Imprint e) Source # 
Instance details

Defined in Pandora.Paradigm.Inventory.Some.Imprint

Methods

(<<=) :: (Imprint e a -> b) -> Imprint e a -> Imprint e b Source #

Interpreted ((->) :: Type -> Type -> Type) (Imprint e) Source # 
Instance details

Defined in Pandora.Paradigm.Inventory.Some.Imprint

Associated Types

type Primary (Imprint e) a Source #

Methods

run :: Imprint e a -> Primary (Imprint e) a Source #

unite :: Primary (Imprint e) a -> Imprint e a Source #

(!) :: Imprint e a -> Primary (Imprint e) a Source #

(||=) :: (Semigroupoid (->), Interpreted (->) u) => (Primary (Imprint e) a -> Primary u b) -> Imprint e a -> u b Source #

(=||) :: (Semigroupoid (->), Interpreted (->) u) => (Imprint e a -> u b) -> Primary (Imprint e) a -> Primary u b Source #

(<$||=) :: (Semigroupoid (->), Covariant (->) (->) j, Interpreted (->) u) => (Primary (Imprint e) a -> Primary u b) -> (j := Imprint e a) -> (j := u b) Source #

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

Covariant ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) (Imprint e) Source # 
Instance details

Defined in Pandora.Paradigm.Inventory.Some.Imprint

Methods

(<-|-) :: (a -> b) -> Imprint e a -> Imprint e b Source #

(<-|-|-) :: (Covariant (->) (Betwixt (->) (->)) u, Covariant (Betwixt (->) (->)) (->) (Imprint e)) => (a -> b) -> Imprint e (u a) -> Imprint e (u b) Source #

(<-|-|-|-) :: (Covariant (->) (Betwixt (->) (Betwixt (->) (->))) v, Covariant (Betwixt (->) (Betwixt (->) (->))) (Betwixt (Betwixt (->) (->)) (->)) u, Covariant (Betwixt (Betwixt (->) (->)) (->)) (->) (Imprint e)) => (a -> b) -> Imprint e (u (v a)) -> Imprint e (u (v b)) Source #

Distributive ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) (Imprint e) Source # 
Instance details

Defined in Pandora.Paradigm.Inventory.Some.Imprint

Methods

(-<<) :: Covariant (->) (->) u => (a -> Imprint e b) -> u a -> Imprint e (u b) Source #

Adjoint ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) (Accumulator e) (Imprint e) Source # 
Instance details

Defined in Pandora.Paradigm.Inventory

Methods

(-|) :: (Accumulator e a -> b) -> a -> Imprint e b Source #

(|-) :: (a -> Imprint e b) -> Accumulator e a -> b Source #

Contravariant ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) (Flip Imprint a) Source # 
Instance details

Defined in Pandora.Paradigm.Inventory.Some.Imprint

Methods

(>-|-) :: (a0 -> b) -> Flip Imprint a b -> Flip Imprint a a0 Source #

(>-|-|-) :: (Contravariant (->) (Betwixt (->) (->)) u, Contravariant (Betwixt (->) (->)) (->) (Flip Imprint a)) => (a0 -> b) -> Flip Imprint a (u a0) -> Flip Imprint a (u b) Source #

type Schematic Comonad (Imprint e) Source # 
Instance details

Defined in Pandora.Paradigm.Inventory.Some.Imprint

type Schematic Comonad (Imprint e) = (<.:>) ((->) e :: Type -> Type)
type Primary (Imprint e) a Source # 
Instance details

Defined in Pandora.Paradigm.Inventory.Some.Imprint

type Primary (Imprint e) a = e -> a

type Traceable e t = Adaptable t (->) (Imprint e) Source #

Orphan instances

(Semigroup e, Extendable ((->) :: Type -> Type -> Type) u) => Extendable ((->) :: Type -> Type -> Type) (((->) e :: Type -> Type) <.:> u) Source # 
Instance details

Methods

(<<=) :: (((->) e <.:> u) a -> b) -> ((->) e <.:> u) a -> ((->) e <.:> u) b Source #