Packages

trait Cobind[F[_]] extends Serializable with Type[F]

A type-class providing the coflatMap operation, the dual of flatMap.

To implement Cobind:

The purpose of this type-class is to support the data-types in the Monix library and it is considered a shim for a lawful type-class to be supplied by libraries such as Cats or Scalaz or equivalent.

CREDITS: The type-class encoding has been inspired by the Scato project by Aloïs Cochard and Scalaz 8 and the type has been extracted from Cats.

Self Type
Instance[F]
Source
Cobind.scala
Linear Supertypes
Type[F], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cobind
  2. Type
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def coflatMap[A, B](fa: F[A])(f: (F[A]) ⇒ B): F[B]
  2. implicit abstract def functor: Functor[F]
    Definition Classes
    Type

Concrete Value Members

  1. def coflatten[A](fa: F[A]): F[F[A]]