Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class KFunctor k => KApply k where Source #
A type which has KApply
and KPointed
instances also has KApplicative
,
which is the equivalent to the Applicative
class.
zipK :: Tree k p -> Tree k q -> Tree k (Product p q) Source #
Combine child values
>>>
zipK (Person name0 age0) (Person name1 age1)
Person (Pair name0 name1) (Pair age0 age1)
Instances
class (KPointed k, KApply k) => KApplicative k Source #
A variant of Applicative
for Knot
s.
Instances
(KPointed k, KApply k) => KApplicative k Source # | |
Defined in AST.Class.Apply |