syntax-tree-0.1.0.0: Typed ASTs
AST.Class.HasPlain
Description
A class for plain Type equivalents for the simple forms of Knots.
Type
Knot
Useful for succinct tests, examples, and for debug prints.
class Show (KPlain k) => KHasPlain k where Source #
A class for a plain for of a Tree Pure k
Tree Pure k
Associated Types
data KPlain k Source #
Plain form data type
Methods
kPlain :: Iso' (KPlain k) (Tree Pure k) Source #
An Iso between the plain and knotted forms
Iso