Document

fetch.document.Document
See theDocument companion object
abstract class Document

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

Attributes

Version:

1.0

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DocBreak.type
class DocCons
class DocGroup
class DocNest
object DocNil.type
class DocText

Members list

Concise view

Value members

Concrete methods

def :-:(hd: String): 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.

Attributes