| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
ZkFold.Base.Data.HFunctor
Documentation
class HFunctor c where Source #
A type c is a higher-order functor () if it provides a
function HFunctor which, given any two types hmapf and g of kind k -> Type
lets you apply any function from (forall a. f a -> g a) to turn an c f
into an c g, preserving the structure of c.
Methods
Instances
| HFunctor (Interpreter a :: (k -> Type) -> Type) Source # | |
Defined in ZkFold.Symbolic.Interpreter Methods hmap :: (forall (a0 :: k0). f a0 -> g a0) -> Interpreter a f -> Interpreter a g Source # | |
| HFunctor (ArithmeticCircuit a p i :: (Type -> Type) -> Type) Source # | |
Defined in ZkFold.Symbolic.Compiler.ArithmeticCircuit.Internal Methods hmap :: (forall (a0 :: k). f a0 -> g a0) -> ArithmeticCircuit a p i f -> ArithmeticCircuit a p i g Source # | |