Package

matryoshka

patterns

Permalink

package patterns

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. patterns
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Added[T[_[_]], F[_], A](right: T[F]) extends Diff[T, F, A] with Product with Serializable

    Permalink
  2. final case class CoEnv[E, F[_], A](run: \/[E, F[A]]) extends Product with Serializable

    Permalink

    The pattern functor for Free.

  3. sealed abstract class CoEnvInstances extends CoEnvInstances0

    Permalink
  4. sealed abstract class CoEnvInstances0 extends AnyRef

    Permalink
  5. final case class ConsF[A, B](car: A, cdr: B) extends ListF[A, B] with Product with Serializable

    Permalink
  6. final case class Deleted[T[_[_]], F[_], A](left: F[A]) extends Diff[T, F, A] with Product with Serializable

    Permalink
  7. sealed trait Diff[T[_[_]], F[_], A] extends AnyRef

    Permalink

    Represents diffs of recursive data structures.

  8. sealed abstract class DiffInstances extends DiffInstances0

    Permalink
  9. sealed abstract class DiffInstances0 extends AnyRef

    Permalink
  10. type DiffT[T[_[_]], F[_]] = T[[γ$0$]Diff[T, F, γ$0$]]

    Permalink
  11. trait Diffable[F[_]] extends Serializable

    Permalink
  12. final case class Different[T[_[_]], F[_], A](left: T[F], right: T[F]) extends Diff[T, F, A] with Product with Serializable

    Permalink
  13. final case class EnvT[E, W[_], A](run: (E, W[A])) extends Product with Serializable

    Permalink

    This is the transformer for the (,) comonad.

  14. trait EnvTFunctions extends AnyRef

    Permalink
  15. sealed abstract class EnvTInstances extends EnvTInstances0

    Permalink
  16. sealed abstract class EnvTInstances0 extends EnvTInstances1

    Permalink
  17. sealed abstract class EnvTInstances1 extends AnyRef

    Permalink
  18. final case class Failure[T[_[_]], F[_], E, A] extends PotentialFailure[T, F, E, A] with Product with Serializable

    Permalink

    Akin to Free.point

  19. final case class Inserted[T[_[_]], F[_], A](right: F[A]) extends Diff[T, F, A] with Product with Serializable

    Permalink
  20. sealed trait ListF[A, B] extends AnyRef

    Permalink
  21. final case class LocallyDifferent[T[_[_]], F[_], A](left: F[A], right: F[slamdata.Predef.Unit]) extends Diff[T, F, A] with Product with Serializable

    Permalink
  22. final case class NilF[A, B]() extends ListF[A, B] with Product with Serializable

    Permalink
  23. final case class PartialFailure[T[_[_]], F[_], E, A] extends PotentialFailure[T, F, E, A] with Product with Serializable

    Permalink

    Akin to Free.roll

  24. sealed trait PotentialFailure[T[_[_]], F[_], E, A] extends AnyRef

    Permalink

    Generally similar to CoEnv (Free), this has an additional success case that indicates there’s no failure down to the leaves.

  25. type PotentialFailureT[T[_[_]], F[_], E] = T[[δ$1$]PotentialFailure[T, F, E, δ$1$]]

    Permalink
  26. final case class Removed[T[_[_]], F[_], A](left: T[F]) extends Diff[T, F, A] with Product with Serializable

    Permalink
  27. final case class Same[T[_[_]], F[_], A](ident: T[F]) extends Diff[T, F, A] with Product with Serializable

    Permalink
  28. final case class Similar[T[_[_]], F[_], A](ident: F[A]) extends Diff[T, F, A] with Product with Serializable

    Permalink
  29. final case class Success[T[_[_]], F[_], E, A] extends PotentialFailure[T, F, E, A] with Product with Serializable

    Permalink

Value Members

  1. object CoEnv extends CoEnvInstances with Serializable

    Permalink
  2. object Diff extends DiffInstances

    Permalink
  3. object Diffable extends Serializable

    Permalink
  4. object EnvT extends EnvTInstances with EnvTFunctions with Serializable

    Permalink
  5. object ListF

    Permalink
  6. object PotentialFailure

    Permalink
  7. def diff[T[_[_]], F[_]](implicit arg0: BirecursiveT[T], arg1: Diffable[F], arg2: Functor[F], arg3: Foldable[F]): (T[F], T[F], slamdata.Predef.Option[F[DiffT[T, F]]]) ⇒ DiffT[T, F]

    Permalink
  8. def ginterpretM[W[_], M[_], F[_], A, B](f: (A) ⇒ M[B], φ: GAlgebraM[W, M, F, B]): GAlgebraM[W, M, [γ$7$]CoEnv[A, F, γ$7$], B]

    Permalink
  9. def interpret[F[_], A, B](f: (A) ⇒ B, φ: Algebra[F, B]): Algebra[[γ$5$]CoEnv[A, F, γ$5$], B]

    Permalink

    Algebra transformation that allows a standard algebra to be used on a CoEnv structure (given a function that converts the leaves to the result type).

  10. def interpretM[M[_], F[_], A, B](f: (A) ⇒ M[B], φ: AlgebraM[M, F, B]): AlgebraM[M, [γ$6$]CoEnv[A, F, γ$6$], B]

    Permalink
  11. def recover[F[_], A](φ: Algebra[F, A]): Algebra[[γ$8$]CoEnv[A, F, γ$8$], A]

    Permalink

    A specialization of interpret where the leaves are of the result type.

    A specialization of interpret where the leaves are of the result type. This folds a Free that you may think of as “already partially-folded”. It’s also the fold of a decomposed elgot.

Inherited from AnyRef

Inherited from Any

Ungrouped