Document

org.typelevel.paiges.Document$
See theDocument companion trait
object Document

Attributes

Companion
trait
Source
Document.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Document.type

Members list

Type members

Classlikes

object FromToString extends Document[Any]

Attributes

Source
Document.scala
Supertypes
trait Document[Any]
class Object
trait Matchable
class Any
Self type
trait Ops[A]

Attributes

Source
Document.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
Document.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ops.type
object ops extends ToDocumentOps

Attributes

Source
Document.scala
Supertypes
class Object
trait Matchable
class Any
Self type
ops.type

Value members

Concrete methods

def apply[A](implicit ev: Document[A]): Document[A]

Attributes

Source
Document.scala
def defer[A](doc: => Document[A]): Document[A]

Attributes

Source
Document.scala
def documentIterable[A](name: String)(implicit ev: Document[A]): Document[Iterable[A]]

Attributes

Source
Document.scala
def instance[A](f: A => Doc): Document[A]

Attributes

Source
Document.scala
def useToString[A]: Document[A]

In general you will get better rendering and performance by writing your own instance of Document[A] using the document combinators. However, this method is provided as a convenience when these issues are not applicable.

In general you will get better rendering and performance by writing your own instance of Document[A] using the document combinators. However, this method is provided as a convenience when these issues are not applicable.

Attributes

Source
Document.scala

Implicits

Implicits

Attributes

Source
Document.scala
implicit val documentByte: Document[Byte]

Attributes

Source
Document.scala
implicit val documentChar: Document[Char]

Attributes

Source
Document.scala
implicit val documentDouble: Document[Double]

Attributes

Source
Document.scala
implicit val documentFloat: Document[Float]

Attributes

Source
Document.scala
implicit val documentInt: Document[Int]

Attributes

Source
Document.scala
implicit val documentLong: Document[Long]

Attributes

Source
Document.scala
implicit val documentShort: Document[Short]

Attributes

Source
Document.scala
implicit val documentString: Document[String]

Attributes

Source
Document.scala
implicit val documentUnit: Document[Unit]

Attributes

Source
Document.scala