syntax-tree-0.1.0.1: Typed ASTs

Safe HaskellNone
LanguageHaskell2010

AST.Class.HasPlain

Description

A class for plain Type equivalents for the simple forms of Knots.

Useful for succinct tests, examples, and for debug prints.

Synopsis

Documentation

class Show (KPlain k) => KHasPlain k where Source #

A class for a plain for of a 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