Document

abstract class Document

A basic pretty-printing library, based on Lindig's strict version of Wadler's adaptation of Hughes' pretty-printer.

A basic pretty-printing library, based on Lindig's strict version of Wadler's adaptation of Hughes' pretty-printer.

Authors

Michel Schinz

Version

1.0

Companion
object
class Object
trait Matchable
class Any
object DocBreak
class DocCons
class DocGroup
class DocNest
object DocNil
class DocText

Value members

Concrete methods

def :-:(hd: Document): Document
def :-:(hd: String): Document
def :/:(hd: Document): Document
def :/:(hd: String): Document
def format(width: Int, writer: Writer): Unit

Format this document on writer and try to set line breaks so that the result fits in width columns.

Format this document on writer and try to set line breaks so that the result fits in width columns.