Trait/Object

cats.arrow

Compose

Related Docs: object Compose | package arrow

Permalink

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

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

Self Type
Compose[F]
Linear Supertypes
Serializable, Serializable, Any
Known Subclasses
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]

    Permalink

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

    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
    Annotations
    @op( "<<<" , true )
  2. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. def algebra[A]: Semigroup[F[A, A]]

    Permalink
  5. def algebraK: SemigroupK[[α]F[α, α]]

    Permalink
  6. def andThen[A, B, C](f: F[A, B], g: F[B, C]): F[A, C]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  9. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from Serializable

Inherited from Serializable

Inherited from Any

Ungrouped