Packages

class SubTypePattern[X, Y, F[_]] extends AnyRef

Pattern and builder for matching whether, for a term x: X, F(x) is in the subtype Y. Here Y is not just a scala subtype, but we have inclusions and projections making it a direct summand.

Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubTypePattern
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SubTypePattern()(implicit arg0: Traverse[F], qi: QuasiInclusion[X, Y, F], qp: QuasiProjection[X, Y])

Value Members

  1. def >>[O](build: (F[O]) => Option[O]): Junction[X, O, F]
  2. def >>>[O](build: (F[O]) => O): Junction[X, O, F]
  3. val build: (F[X]) => Option[X]
  4. val builder: Builder[X, F]
  5. def on[I](split: PartialFunction[I, F[I]]): Junction[I, X, F]
  6. val pattern: Pattern[X, F]
  7. implicit val qi: QuasiInclusion[X, Y, F]
  8. implicit val qp: QuasiProjection[X, Y]
  9. val split: (X) => Option[F[X]]