object Cofree extends CofreeInstances with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Cofree
- Serializable
- Serializable
- CofreeInstances
- CofreeInstances1
- CofreeInstances2
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
ana[F[_], A, B](a: A)(coalg: (A) ⇒ F[A], f: (A) ⇒ B)(implicit F: Functor[F]): Cofree[F, B]
Cofree anamorphism with a fused map, lazily evaluated.
-
def
anaEval[F[_], A, B](a: A)(coalg: (A) ⇒ Eval[F[A]], f: (A) ⇒ B)(implicit F: Functor[F]): Cofree[F, B]
Cofree anamorphism with a fused map.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cata[F[_], A, B](cof: Cofree[F, A])(folder: (A, F[B]) ⇒ Eval[B])(implicit F: Traverse[F]): Eval[B]
A stack-safe algebraic recursive fold out of the cofree comonad.
-
def
cataM[F[_], M[_], A, B](cof: Cofree[F, A])(folder: (A, F[B]) ⇒ M[B])(inclusion: ~>[Eval, M])(implicit F: Traverse[F], M: Monad[M]): M[B]
A monadic recursive fold out of the cofree comonad into a monad which can express Eval's stack-safety.
-
implicit
def
catsFreeComonadForCofree[S[_]](implicit arg0: Functor[S]): Comonad[[β$2$]Cofree[S, β$2$]]
- Definition Classes
- CofreeInstances
-
implicit
def
catsReducibleForCofree[F[_]](implicit arg0: Foldable[F]): Reducible[[β$0$]Cofree[F, β$0$]]
- Definition Classes
- CofreeInstances2
-
implicit
def
catsTraverseForCofree[F[_]](implicit arg0: Traverse[F]): Traverse[[β$1$]Cofree[F, β$1$]]
- Definition Classes
- CofreeInstances1
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unfold[F[_], A](a: A)(f: (A) ⇒ F[A])(implicit F: Functor[F]): Cofree[F, A]
Cofree anamorphism, lazily evaluated.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()