Packages

  • package root
    Definition Classes
    root
  • package smithy4s
    Definition Classes
    root
  • package codegen
    Definition Classes
    smithy4s
  • package recursion

    This package contains recursion-scheme implementations.

    This package contains recursion-scheme implementations. Because of the concision and the fact that we need a small subset of them, we re-implement them as opposed to depending on a library.

    See libraries that offer larger sets of recursion-schemes (and docs) : * Droste https://index.scala-lang.org/higherkindness/droste * Matryoshka https://index.scala-lang.org/precog/matryoshka

    Definition Classes
    smithy4s
  • Fix
p

smithy4s

recursion

package recursion

This package contains recursion-scheme implementations. Because of the concision and the fact that we need a small subset of them, we re-implement them as opposed to depending on a library.

See libraries that offer larger sets of recursion-schemes (and docs) : * Droste https://index.scala-lang.org/higherkindness/droste * Matryoshka https://index.scala-lang.org/precog/matryoshka

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

Type Members

  1. case class Fix[F[_]](unfix: F[Fix[F]]) extends Product with Serializable

Value Members

  1. def ana[F[_], A](unfold: (A) => F[A])(a: A)(implicit arg0: Functor[F]): Fix[F]
  2. def anaM[M[_], F[_], A](unfold: (A) => M[F[A]])(a: A)(implicit arg0: Monad[M], arg1: Traverse[F]): M[Fix[F]]
  3. def cata[F[_], B](fold: (F[B]) => B)(tree: Fix[F])(implicit arg0: Functor[F]): B
  4. def hylo[F[_], A, B](unfold: (A) => F[A], fold: (F[B]) => B)(a: A)(implicit arg0: Functor[F]): B
  5. def hyloM[M[_], F[_], A, B](unfold: (A) => M[F[A]], fold: (F[B]) => M[B])(a: A)(implicit arg0: Monad[M], arg1: Traverse[F]): M[B]
  6. def preprocess[F[_]](nt: ~>[F, F])(tree: Fix[F])(implicit arg0: Functor[F]): Fix[F]

Inherited from AnyRef

Inherited from Any

Ungrouped