Trait/Object

scalaz

Arrow

Related Docs: object Arrow | package scalaz

Permalink

trait Arrow[=>:[_, _]] extends Split[=>:] with Strong[=>:] 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[=>:], Strong[=>:], Profunctor[=>:], Split[=>:], Compose[=>:], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Arrow
  2. Category
  3. Strong
  4. Profunctor
  5. Split
  6. Compose
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait CategoryLaw extends ComposeLaw

    Permalink
    Definition Classes
    Category
  2. trait ComposeLaw extends AnyRef

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Compose
  5. trait ProfunctorLaw extends AnyRef

    Permalink
    Definition Classes
    Profunctor
  6. trait SndCovariant[C] extends Functor[[β$0$]=>:[C, β$0$]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Profunctor

Abstract Value Members

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

    Permalink

    Lift an ordinary function.

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

    Permalink

    Associative =>: binary operator.

    Associative =>: binary operator.

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

    Permalink
    Definition Classes
    Strong
  4. abstract def id[A]: =>:[A, A]

    Permalink

    The left and right identity over compose.

    The left and right identity over compose.

    Definition Classes
    Category

Concrete Value Members

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

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

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

    Permalink

    Alias for compose.

  4. final def ==(arg0: Any): Boolean

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

    Permalink

    Flipped <<<.

  6. val arrowSyntax: ArrowSyntax[=>:]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def categoryLaw: CategoryLaw

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

    Permalink
    Definition Classes
    Category
  10. def clone(): AnyRef

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

    Permalink

    Run fab and fac on the same A.

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

  12. def composeLaw: ComposeLaw

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

    Permalink
    Definition Classes
    Compose
  14. def contravariantInstance[C]: Contravariant[[α$2$]=>:[α$2$, C]]

    Permalink
    Definition Classes
    Profunctor
  15. def covariantInstance[C]: Applicative[[β$0$]=>:[C, β$0$]]

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

    Permalink

    Functor map on A and B.

    Functor map on A and B.

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

    Permalink

    monoid, but universally quantified.

    monoid, but universally quantified.

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

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

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

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

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

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

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

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

    Permalink

    Contramap on A.

    Contramap on A.

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

    Permalink

    Functor map on B.

    Functor map on B.

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

    Permalink

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

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

    Permalink

    semigroup, but universally quantified.

    semigroup, but universally quantified.

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

    Permalink

    Run two fabs alongside each other.

  33. def profunctorLaw: ProfunctorLaw

    Permalink
    Definition Classes
    Profunctor
  34. val profunctorSyntax: ProfunctorSyntax[=>:]

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

    Permalink

    Pass C through untouched.

    Pass C through untouched.

    Definition Classes
    ArrowStrong
  36. def semigroup[A]: Semigroup[=>:[A, A]]

    Permalink

    The endomorphism semigroup, where append=compose.

    The endomorphism semigroup, where append=compose.

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

    Permalink

    Run fab and fcd alongside each other.

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

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

    Permalink

    Alias for split.

  39. val splitSyntax: SplitSyntax[=>:]

    Permalink
    Definition Classes
    Split
  40. val strongSyntax: StrongSyntax[=>:]

    Permalink
    Definition Classes
    Strong
  41. def swap[X, Y]: =>:[(X, Y), (Y, X)]

    Permalink

    Swaps a pair.

  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Category[=>:]

Inherited from Strong[=>:]

Inherited from Profunctor[=>:]

Inherited from Split[=>:]

Inherited from Compose[=>:]

Inherited from AnyRef

Inherited from Any

Ungrouped