Package

matryoshka.instances

fixedpoint

Permalink

package fixedpoint

This package provides instances of various common data structures implemented explicitly as fixed-points.

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

Type Members

  1. type Cofree[F[_], A] = Mu[[γ$1$]EnvT[A, F, γ$1$]]

    Permalink
  2. type Colist[A] = Nu[[β$13$]ListF[A, β$13$]]

    Permalink

    A lazy (potentially-infinite) list.

  3. type Conat = Nu[Option]

    Permalink

    The dual of Nat, a potentially-infinite number.

  4. type Free[F[_], A] = Mu[[γ$0$]CoEnv[A, F, γ$0$]]

    Permalink
  5. type List[A] = Mu[[β$2$]ListF[A, β$2$]]

    Permalink
  6. type Nat = Mu[Option]

    Permalink

    Natural numbers represented as the least fixed-point of scala.Option.

  7. implicit class NatOps[T] extends AnyRef

    Permalink
  8. type Partial[A] = Nu[[β$31$]\/[A, β$31$]]

    Permalink

    Encodes a function that may diverge.

  9. implicit class PartialOps[A] extends AnyRef

    Permalink
  10. implicit class RecListFOps[T, A] extends AnyRef

    Permalink
  11. type Stream[A] = Nu[[β$14$](A, β$14$)]

    Permalink

    A true stream – infinite.

  12. implicit class StreamOps[A] extends AnyRef

    Permalink

Value Members

  1. object Conat

    Permalink
  2. object List extends Serializable

    Permalink
  3. implicit def ListOps[A](self: List[A]): RecListFOps[List[A], A]

    Permalink
  4. object Nat extends Serializable

    Permalink
  5. object Partial

    Permalink
  6. object Stream

    Permalink
  7. implicit val partialMonad: Monad[Partial]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped