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

Pandora.Paradigm.Primary.Transformer.Backwards

Documentation

newtype Backwards t a Source #

Constructors

Backwards (t a) 

Instances

Instances details
Liftable (Backwards :: (Type -> Type) -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Backwards

Methods

lift :: forall (u :: Type -> Type). Covariant u (->) (->) => u ~> Backwards u Source #

Lowerable (Backwards :: (Type -> Type) -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Backwards

Methods

lower :: forall (u :: Type -> Type). Covariant u (->) (->) => Backwards u ~> u Source #

Hoistable (Backwards :: (Type -> Type) -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Backwards

Methods

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

hoist :: forall (u :: Type -> Type) (v :: Type -> Type). Covariant u (->) (->) => (u ~> v) -> Backwards u ~> Backwards v Source #

(Semimonoidal t ((->) :: Type -> Type -> Type) (:*:) (:*:), Covariant t ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type)) => Semimonoidal (Backwards t :: Type -> Type) ((->) :: Type -> Type -> Type) (:*:) (:*:) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Backwards

Methods

multiply_ :: forall (a :: k) (b :: k). (Backwards t a :*: Backwards t b) -> Backwards t (a :*: b) Source #

Interpreted (Backwards t) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Backwards

Associated Types

type Primary (Backwards t) a Source #

Methods

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

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

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

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

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

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

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

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

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

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

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

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

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

Defined in Pandora.Paradigm.Primary.Transformer.Backwards

Methods

point :: a -> Backwards t a Source #

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

Defined in Pandora.Paradigm.Primary.Transformer.Backwards

Methods

extract :: Backwards t a -> a Source #

Covariant t ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) => Covariant (Backwards t) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Backwards

Methods

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

Distributive t ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) => Distributive (Backwards t) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Backwards

Methods

(-<<) :: Covariant u (->) (->) => (a -> Backwards t b) -> u a -> Backwards t (u b) Source #

Contravariant t ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) => Contravariant (Backwards t) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Backwards

Methods

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

Traversable t ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) => Traversable (Backwards t) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Backwards

Methods

(<<-) :: (Covariant u (->) (->), Pointable u (->), Semimonoidal u (->) (:*:) (:*:)) => (a -> u b) -> Backwards t a -> u (Backwards t b) Source #

type Primary (Backwards t) a Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Backwards

type Primary (Backwards t) a = t a