Packages

trait MathWriter[D, E] extends AnyRef

Type-class for writing to a document of type D in terms of expressions of type E. We can write statements and begin and end blocks. We append to the document, but the document may come with a cursor that allows insertion instead.

Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MathWriter
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def append(s: Statement[E], doc: D): D

    appends statement to document

  2. abstract def begin(b: Beginning, doc: D): D
  3. abstract def end(e: Beginning, doc: D): D

Concrete Value Members

  1. def appendTry(s: => Statement[E], doc: D): D

    tries to append, does nothing if it fails; statement is passed by name, so should also wrap statement creation involving get.