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

Pandora.Paradigm.Inventory.Equipment

Documentation

newtype Equipment e a Source #

Constructors

Equipment (e :*: a) 

Instances

Instances details
Extendable ((->) :: Type -> Type -> Type) (Equipment e) Source # 
Instance details

Defined in Pandora.Paradigm.Inventory.Equipment

Methods

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

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

Defined in Pandora.Paradigm.Inventory.Equipment

Associated Types

type Primary (Equipment e) a Source #

Methods

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

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

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

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

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

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

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

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

Defined in Pandora.Paradigm.Inventory.Equipment

Methods

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

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

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

Traversable ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) (Equipment e) Source # 
Instance details

Defined in Pandora.Paradigm.Inventory.Equipment

Methods

(<<-) :: (Covariant (->) (->) u, Monoidal (Straight (->)) (Straight (->)) (:*:) (:*:) u) => (a -> u b) -> Equipment e a -> u (Equipment e b) Source #

Adjoint ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) (Equipment e) (Provision e) Source # 
Instance details

Defined in Pandora.Paradigm.Inventory

Methods

(-|) :: (Equipment e a -> b) -> a -> Provision e b Source #

(|-) :: (a -> Provision e b) -> Equipment e a -> b Source #

type Schematic Comonad (Equipment e) Source # 
Instance details

Defined in Pandora.Paradigm.Inventory.Equipment

type Primary (Equipment e) a Source # 
Instance details

Defined in Pandora.Paradigm.Inventory.Equipment

type Primary (Equipment e) a = e :*: a

retrieve :: Equipped e t => t a -> e Source #

Orphan instances

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

Methods

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