Packages

trait Divide[F[_]] extends Contravariant[F]

Divide is the contravariant analogue of scalaz.Apply

Self Type
Divide[F]
Source
Divide.scala
See also

https://github.com/ekmett/contravariant/issues/18

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Divide
  2. Contravariant
  3. InvariantFunctor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait ContravariantLaw extends InvariantFunctorLaw
    Definition Classes
    Contravariant
  2. trait DivideLaw extends ContravariantLaw
  3. trait InvariantFunctorLaw extends AnyRef
    Definition Classes
    InvariantFunctor

Abstract Value Members

  1. abstract def contramap[A, B](r: F[A])(f: (B) => A): F[B]

    Transform A.

    Transform A.

    Definition Classes
    Contravariant
    Note

    contramap(r)(identity) = r

  2. abstract def divide2[A1, A2, Z](a1: => F[A1], a2: => F[A2])(f: (Z) => (A1, A2)): F[Z]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def compose[G[_]](implicit G0: Contravariant[G]): Functor[[α]F[G[α]]]

    The composition of Contravariant F and G, [x]F[G[x]], is covariant.

    The composition of Contravariant F and G, [x]F[G[x]], is covariant.

    Definition Classes
    Contravariant
  7. def contravariantLaw: ContravariantLaw
    Definition Classes
    Contravariant
  8. val contravariantSyntax: ContravariantSyntax[F]
    Definition Classes
    Contravariant
  9. final def divide[A, B, C](fa: => F[A], fb: => F[B])(f: (C) => (A, B)): F[C]
  10. final def divide1[A1, Z](a1: F[A1])(f: (Z) => A1): F[Z]
  11. def divide3[A1, A2, A3, Z](a1: => F[A1], a2: => F[A2], a3: => F[A3])(f: (Z) => (A1, A2, A3)): F[Z]
  12. def divide4[A1, A2, A3, A4, Z](a1: => F[A1], a2: => F[A2], a3: => F[A3], a4: => F[A4])(f: (Z) => (A1, A2, A3, A4)): F[Z]
  13. def divideLaw: DivideLaw
  14. val divideSyntax: DivideSyntax[F]
  15. final def dividing1[A1, Z](f: (Z) => A1)(implicit a1: F[A1]): F[Z]
  16. final def dividing2[A1, A2, Z](f: (Z) => (A1, A2))(implicit a1: F[A1], a2: F[A2]): F[Z]
  17. final def dividing3[A1, A2, A3, Z](f: (Z) => (A1, A2, A3))(implicit a1: F[A1], a2: F[A2], a3: F[A3]): F[Z]
  18. final def dividing4[A1, A2, A3, A4, Z](f: (Z) => (A1, A2, A3, A4))(implicit a1: F[A1], a2: F[A2], a3: F[A3], a4: F[A4]): F[Z]
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def icompose[G[_]](implicit G0: Functor[G]): Contravariant[[α]F[G[α]]]

    The composition of Contravariant F and Functor G, [x]F[G[x]], is contravariant.

    The composition of Contravariant F and Functor G, [x]F[G[x]], is contravariant.

    Definition Classes
    Contravariant
  25. def invariantFunctorLaw: InvariantFunctorLaw
    Definition Classes
    InvariantFunctor
  26. val invariantFunctorSyntax: InvariantFunctorSyntax[F]
    Definition Classes
    InvariantFunctor
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def narrow[A, B](fa: F[A])(implicit ev: <~<[B, A]): F[B]
    Definition Classes
    Contravariant
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def product[G[_]](implicit G0: Contravariant[G]): Contravariant[[α](F[α], G[α])]

    The product of Contravariant F and G, [x](F[x], G[x]]), is contravariant.

    The product of Contravariant F and G, [x](F[x], G[x]]), is contravariant.

    Definition Classes
    Contravariant
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def tuple2[A1, A2](a1: => F[A1], a2: => F[A2]): F[(A1, A2)]
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. def xmap[A, B](fa: F[A], f: (A) => B, g: (B) => A): F[B]

    Converts ma to a value of type F[B] using the provided functions f and g.

    Converts ma to a value of type F[B] using the provided functions f and g.

    Definition Classes
    ContravariantInvariantFunctor
  40. def xmapb[A, B](ma: F[A])(b: Bijection[A, B]): F[B]

    Converts ma to a value of type F[B] using the provided bijection.

    Converts ma to a value of type F[B] using the provided bijection.

    Definition Classes
    InvariantFunctor
  41. def xmapi[A, B](ma: F[A])(iso: Isomorphism.<=>[A, B]): F[B]

    Converts ma to a value of type F[B] using the provided isomorphism.

    Converts ma to a value of type F[B] using the provided isomorphism.

    Definition Classes
    InvariantFunctor

Inherited from Contravariant[F]

Inherited from InvariantFunctor[F]

Inherited from AnyRef

Inherited from Any

Ungrouped