| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
AST.Knot.Functor
Description
Functors as Knots
Documentation
Lift a Functor, or type constructor of kind Type -> Type to a Knot.
F Maybecan be used to encode structures with missing valuesF (Either Text)can be used to encode results of parsing where structure components may fail to parse.
Instances
data family KWitness k :: (Knot -> Type) -> Type Source #
KWitness k n is a witness that n is a node of k