scalaz

Arrow

trait Arrow[=>:[_, _]] extends Split[=>:] with Profunctor[=>:] with Category[=>:]

A scalaz.Category supporting all ordinary functions, as well as combining arrows product-wise. Every Arrow forms a scalaz.Contravariant in one type parameter, and a scalaz.Applicative in the other, just as with ordinary functions.

Self Type
Arrow[=>:]
Source
Arrow.scala
Linear Supertypes
Category[=>:], Profunctor[=>:], Split[=>:], Compose[=>:], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Arrow
  2. Category
  3. Profunctor
  4. Split
  5. Compose
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait CategoryLaw extends ComposeLaw

    Definition Classes
    Category
  2. trait ComposeLaw extends AnyRef

    Definition Classes
    Compose
  3. trait ComposePlus extends Plus[[α]=>:[α, α]]

    Attributes
    protected[this]
    Definition Classes
    Compose
  4. trait ComposeSemigroup[A] extends Semigroup[=>:[A, A]]

    Attributes
    protected[this]
    Definition Classes
    Compose
  5. trait SndCovariant[C] extends Functor[[α]=>:[C, α]]

    Attributes
    protected[this]
    Definition Classes
    Profunctor

Abstract Value Members

  1. abstract def arr[A, B](f: (A) ⇒ B): =>:[A, B]

    Lift an ordinary function.

  2. abstract def compose[A, B, C](f: =>:[B, C], g: =>:[A, B]): =>:[A, C]

    Associative =>: binary operator.

    Associative =>: binary operator.

    Definition Classes
    Compose
  3. abstract def first[A, B, C](f: =>:[A, B]): =>:[(A, C), (B, C)]

    Pass C through untouched.

  4. abstract def id[A]: =>:[A, A]

    The left and right identity over compose.

    The left and right identity over compose.

    Definition Classes
    Category

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def <<<[A, B, C](fbc: =>:[B, C], fab: =>:[A, B]): =>:[A, C]

    Alias for compose.

  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. def >>>[A, B, C](fab: =>:[A, B], fbc: =>:[B, C]): =>:[A, C]

    Flipped <<<.

  8. val arrowSyntax: ArrowSyntax[=>:]

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def categoryLaw: CategoryLaw

    Definition Classes
    Category
  11. val categorySyntax: CategorySyntax[=>:]

    Definition Classes
    Category
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def combine[A, B, C](fab: =>:[A, B], fac: =>:[A, C]): =>:[A, (B, C)]

    Run fab and fac on the same A.

    Run fab and fac on the same A. Sometimes &&&.

  14. def composeLaw: ComposeLaw

    Definition Classes
    Compose
  15. val composeSyntax: ComposeSyntax[=>:]

    Definition Classes
    Compose
  16. def contravariantInstance[C]: Contravariant[[α]=>:[α, C]]

    Definition Classes
    Profunctor
  17. def covariantInstance[C]: Applicative[[α]=>:[C, α]]

    Definition Classes
    ArrowProfunctor
  18. def dimap[A, B, C, D](fab: =>:[A, B])(f: (C) ⇒ A)(g: (B) ⇒ D): =>:[C, D]

    Functor map on A and B.

    Functor map on A and B.

    Definition Classes
    Profunctor
  19. def empty: PlusEmpty[[α]=>:[α, α]]

    monoid, but universally quantified.

    monoid, but universally quantified.

    Definition Classes
    Category
  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. def invariantFunctor: InvariantFunctor[[α]=>:[α, α]]

    Definition Classes
    Profunctor
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def mapfst[A, B, C](fab: =>:[A, B])(f: (C) ⇒ A): =>:[C, B]

    Contramap on A.

    Contramap on A.

    Definition Classes
    ArrowProfunctor
  28. def mapsnd[A, B, C](fab: =>:[A, B])(f: (B) ⇒ C): =>:[A, C]

    Functor map on B.

    Functor map on B.

    Definition Classes
    ArrowProfunctor
  29. def monoid[A]: Monoid[=>:[A, A]]

    The endomorphism monoid, where zero=id and append=compose.

    The endomorphism monoid, where zero=id and append=compose.

    Definition Classes
    Category
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. def plus: Plus[[α]=>:[α, α]]

    semigroup, but universally quantified.

    semigroup, but universally quantified.

    Definition Classes
    Compose
  34. def product[A, B](fab: =>:[A, B]): =>:[(A, A), (B, B)]

    Run two fabs alongside each other.

  35. val profunctorSyntax: ProfunctorSyntax[=>:]

    Definition Classes
    Profunctor
  36. def second[A, B, C](f: =>:[A, B]): =>:[(C, A), (C, B)]

    Pass C through untouched.

  37. def semigroup[A]: Semigroup[=>:[A, A]]

    The endomorphism semigroup, where append=compose.

    The endomorphism semigroup, where append=compose.

    Definition Classes
    Compose
  38. def split[A, B, C, D](f: =>:[A, B], g: =>:[C, D]): =>:[(A, C), (B, D)]

    Run fab and fcd alongside each other.

    Run fab and fcd alongside each other. Sometimes ***.

    Definition Classes
    ArrowSplit
  39. final def splitA[A, B, C, D](fab: =>:[A, B], fcd: =>:[C, D]): =>:[(A, C), (B, D)]

    Alias for split.

  40. val splitSyntax: SplitSyntax[=>:]

    Definition Classes
    Split
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def toString(): String

    Definition Classes
    AnyRef → Any
  43. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Category[=>:]

Inherited from Profunctor[=>:]

Inherited from Split[=>:]

Inherited from Compose[=>:]

Inherited from AnyRef

Inherited from Any

Ungrouped