trait Instance[F[_]] extends Memoizable[F] with Type[F] with Suspendable.Instance[F]
The Memoizable.Instance
provides the means to combine
Memoizable instances with other type-classes.
To be inherited by Memoizable
instances.
- Source
- Memoizable.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Instance
- Instance
- Instance
- Instance
- Instance
- Instance
- Functor
- Applicative
- Monad
- MonadEval
- Suspendable
- Type
- Memoizable
- Type
- Type
- Type
- Type
- Type
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
ap[A, B](ff: F[(A) ⇒ B])(fa: F[A]): F[B]
- Definition Classes
- Applicative
-
abstract
def
eval[A](a: ⇒ A): F[A]
- Definition Classes
- MonadEval
-
abstract
def
flatMap[A, B](fa: F[A])(f: (A) ⇒ F[B]): F[B]
- Definition Classes
- Monad
-
abstract
def
map[A, B](fa: F[A])(f: (A) ⇒ B): F[B]
- Definition Classes
- Functor
-
abstract
def
map2[A, B, Z](fa: F[A], fb: F[B])(f: (A, B) ⇒ Z): F[Z]
- Definition Classes
- Applicative
-
abstract
def
memoize[A](fa: F[A]): F[A]
- Definition Classes
- Memoizable
-
abstract
def
pure[A](a: A): F[A]
- Definition Classes
- Applicative
Concrete Value Members
- final def applicative: Applicative[F]
-
def
evalOnce[A](a: ⇒ A): F[A]
- Definition Classes
- Memoizable
-
def
flatten[A](ffa: F[F[A]]): F[A]
- Definition Classes
- Monad
- implicit final def functor: Functor[F]
- final def memoizable: Memoizable[F]
- final def monad: Monad[F]
- final def monadEval: MonadEval[F]
-
def
suspend[A](fa: ⇒ F[A]): F[A]
- Definition Classes
- Suspendable
- final def suspendable: Suspendable[F]
-
def
unit: F[Unit]
- Definition Classes
- Applicative
This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomic
types, as alternative tojava.util.concurrent.atomic
monix.eval is for dealing with evaluation of results, thus exposing Task and Coeval.
monix.reactive exposes the
Observable
pattern:Observable
implementationsmonix.types implements type-class shims, to be translated to type-classes provided by libraries such as Cats or Scalaz.
monix.cats is the optional integration with the Cats library, providing translations for the types described in
monix.types
.monix.scalaz is the optional integration with the Scalaz library, providing translations for the types described in
monix.types
.