alga-0.2.2: Algorithmic automation for various DAWs

Safe Haskell Safe Haskell2010

Alga.Representation.Show

Synopsis

# Documentation

Render a statement. This handles definitions and expositions.

Arguments

 :: String Reference name -> SyntaxTree Syntax tree -> Text Textual representation of definition

Render definition.

Render syntax tree.

Show principle. This is useful for printing of simplified principles back to user. We can use the same pretty-printing algorithm as for syntax trees, but this requires us to perform transformation from Principle to SyntaxTree, which is trivial.