Packages

trait Compose[F[_, _]] extends Serializable

Must obey the laws defined in cats.laws.ComposeLaws.

Here's how you can use >>> and <<< Example:

scala> import cats.implicits._
scala> val f : Int => Int = (_ + 1)
scala> val g : Int => Int = (_ * 100)
scala> (f >>> g)(3)
res0: Int = 400
scala> (f <<< g)(3)
res1: Int = 301
Self Type
Compose[F]
Source
Compose.scala
Linear Supertypes
Serializable, Serializable, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Compose
  2. Serializable
  3. Serializable
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def compose[A, B, C](f: F[B, C], g: F[A, B]): F[A, C]
  2. abstract def getClass(): Class[_]
    Definition Classes
    Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def algebra[A]: Semigroup[F[A, A]]
  5. def algebraK: SemigroupK[[α]F[α, α]]
  6. def andThen[A, B, C](f: F[A, B], g: F[B, C]): F[A, C]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  9. def hashCode(): Int
    Definition Classes
    Any
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def toString(): String
    Definition Classes
    Any

Inherited from Serializable

Inherited from Serializable

Inherited from Any

Ungrouped