pandora-0.2.6: A box of patterns and paradigms
Pandora.Pattern.Transformer.Hoistable
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 #
Defined in Pandora.Paradigm.Controlflow.Joint.Schemes.TU
hoist :: (u ~> v) -> TU Covariant Covariant t u ~> TU Covariant Covariant t v Source #