pandora-0.2.6: A box of patterns and paradigms

Safe HaskellSafe
LanguageHaskell2010

Pandora.Pattern.Transformer.Hoistable

Synopsis

Documentation

class Hoistable t where Source #

When providing a new instance, you should ensure it satisfies one law:
* Identity morphism: hoist identity ≡ identity
* Interpreted of morphisms: hoist (f . g) ≡ hoist f . hoist g

Methods

hoist :: (u ~> v) -> t u ~> t v Source #

Instances
Covariant t => Hoistable (TU Covariant Covariant t :: (k -> Type) -> k -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Controlflow.Joint.Schemes.TU