AndThen

cats.data.AndThen
See theAndThen companion class
object AndThen

Attributes

Companion
class
Source
AndThen.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
AndThen.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

final def andThen[A, B, C](ab: AndThen[A, B], bc: AndThen[B, C]): AndThen[A, C]

Attributes

Source
AndThen.scala
def apply[A, B](f: A => B): AndThen[A, B]

Builds an AndThen reference by wrapping a plain function.

Builds an AndThen reference by wrapping a plain function.

Attributes

Source
AndThen.scala
final def isRightAssociated[A, B](fn: AndThen[A, B]): Boolean

true if this fn is already right associated, which is the faster for calling

true if this fn is already right associated, which is the faster for calling

Attributes

Source
AndThen.scala
def toRightAssociated[A, B](fn: AndThen[A, B]): AndThen[A, B]

If you are going to call this function many times, right associating it once can be a significant performance improvement for VERY long chains.

If you are going to call this function many times, right associating it once can be a significant performance improvement for VERY long chains.

Attributes

Source
AndThen.scala

Implicits

Inherited implicits

implicit def catsDataMonadForAndThen[T]: Monad[[_] =>> AndThen[T, _$1]]

cats.Monad instance for AndThen.

cats.Monad instance for AndThen.

Attributes

Inherited from:
AndThenInstances0 (hidden)
Source
AndThen.scala