Packages

package pretty

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class CantonPrettyPrinter extends AnyRef

    Adhoc pretty printer to nicely print the full structure of a class that does not have an explicit pretty definition

  2. trait Pretty[-T] extends AnyRef

    Type class indicating that pretty printing is enabled for type T.

    Type class indicating that pretty printing is enabled for type T.

    See PrettyPrintingTest for examples on how to create instances.

    Annotations
    @FunctionalInterface()
  3. trait PrettyInstances extends AnyRef

    Collects instances of Pretty for common types.

  4. trait PrettyPrinting extends ShowUtil with PrettyUtil

    Extend this trait to directly enable pretty printing via supertype.

  5. trait PrettyUtil extends AnyRef

    Utility methods for constructing Pretty instances.

Value Members

  1. object Pretty extends ShowUtil with PrettyUtil with PrettyInstances

    The companion object collects everything you might need for implementing Pretty instances.

    The companion object collects everything you might need for implementing Pretty instances.

    Import this as follows:

    implicit val prettyMyClass: Pretty[MyClass] = {
      import Pretty._
      ...
    }
    

  2. object PrettyInstances extends PrettyInstances
  3. object PrettyUtil extends PrettyUtil

Ungrouped