Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class KNodes k => KPointed k where Source #
pureK :: (forall n. KWitness k n -> Tree p n) -> Tree k p Source #
Construct a value from a generator of k
's nodes
(a generator which can generate a tree of any type given a witness that it is a node of k
)