Packages

c

quasar.fp.free

Interpreter

class Interpreter[F[_], M[_]] extends AnyRef

Provides a range of natural transformations that can be derived from the natural transformation of a term of an algebra into the desired Monad

F

The type of the Functor that represents the algebra to be interpreted

M

The Monad into which to translate the Free Algebra

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

Instance Constructors

  1. new Interpreter(interpretTerm: ~>[F, M])(implicit arg0: Monad[M])

    interpretTerm

    A natural transformation from the Algebra into the desired Monad from which many other natural transformations can be derived

Type Members

  1. type Program[A] = Free[F, A]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def interpret: ~>[Program, M]
  12. def interpretT[T[_[_], _]](implicit arg0: Hoist[T]): ~>[[β$0$]T[[A]Free[F, A], β$0$], [β$1$]T[M, β$1$]]
  13. def interpretT2[T1[_[_], _], T2[_[_], _]](implicit arg0: Hoist[T1], arg1: Hoist[T2]): ~>[[β$4$]T1[[β$2$]T2[[A]Free[F, A], β$2$], β$4$], [β$5$]T1[[β$3$]T2[M, β$3$], β$5$]]
  14. def interpretT3[T1[_[_], _], T2[_[_], _], T3[_[_], _]](implicit arg0: Hoist[T1], arg1: Hoist[T2], arg2: Hoist[T3]): ~>[[β$12$]T1[[β$13$]T2[[β$9$]T3[[A]Free[F, A], β$9$], β$13$], β$12$], [β$14$]T1[[β$15$]T2[[β$11$]T3[M, β$11$], β$15$], β$14$]]
  15. val interpretTerm: ~>[F, M]
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def runLog[A](p: Process[Program, A])(implicit catchable: Catchable[M]): M[slamdata.Predef.Vector[A]]
  21. def runLogT[T[_[_], _], A](p: Process[[β$21$]T[[A]Free[F, A], β$21$], A])(implicit arg0: Hoist[T], catchable: Catchable[[β$22$]T[M, β$22$]]): T[M, slamdata.Predef.Vector[A]]
  22. def runLogT2[T1[_[_], _], T2[_[_], _], A](p: Process[[β$25$]T1[[β$24$]T2[[A]Free[F, A], β$24$], β$25$], A])(implicit arg0: Hoist[T1], arg1: Hoist[T2], catchable: Catchable[[β$27$]T1[[β$26$]T2[M, β$26$], β$27$]]): T1[[β$28$]T2[M, β$28$], slamdata.Predef.Vector[A]]
  23. def runLogT3[T1[_[_], _], T2[_[_], _], T3[_[_], _], A](p: Process[[β$33$]T1[[β$34$]T2[[β$32$]T3[[A]Free[F, A], β$32$], β$34$], β$33$], A])(implicit arg0: Hoist[T1], arg1: Hoist[T2], arg2: Hoist[T3], catchable: Catchable[[β$37$]T1[[β$38$]T2[[β$36$]T3[M, β$36$], β$38$], β$37$]]): T1[[β$40$]T2[[β$39$]T3[M, β$39$], β$40$], slamdata.Predef.Vector[A]]
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped