object Chunk extends Serializable
- Source
- Chunk.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Chunk
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- implicit class DocChunkSyntax extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit val chunkMonadPlus: MonadPlus[Chunk]
- implicit def chunkMonoid[A](implicit A: Monoid[A]): Monoid[Chunk[A]]
- def chunked[A](f: (A, A) => A): (Chunk[A], Chunk[A]) => Chunk[A]
Given a semigroup structure on A, return a monoid structure on Chunk[A]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def empty[A]: Chunk[A]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extract[A](chunk: Chunk[A])(implicit arg0: Monoid[A]): A
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromList[A](as: List[A])(implicit arg0: Monoid[A]): Chunk[A]
Concatenate a list into a Chunk.
- def fromString(s: String): Chunk[Doc]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def paragraph(s: String): Chunk[Doc]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tabulate(table: List[(Doc, Doc)], size: Int = 24): Chunk[Doc]
- def toString(): String
- Definition Classes
- AnyRef → Any
- def vcatChunks(chunks: List[Chunk[Doc]]): Chunk[Doc]
Concatenate Chunks vertically.
- def vsepChunks(chunks: List[Chunk[Doc]]): Chunk[Doc]
Concatenate Chunks vertically separated by empty lines.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()