Packages

trait InvariantApply[F[_]] extends InvariantFunctor[F]

A variant of Apply that generalizes with Divide. Instead of lifting functions, it lifts an isomorphism:

(A, B, ...) <~> Z  =>  (F[A], F[B], ...) => F[Z]

Its laws are exactly those for Apply, but restated for isomorphisms.

Linear Supertypes
InvariantFunctor[F], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InvariantApply
  2. InvariantFunctor
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait InvariantFunctorLaw extends AnyRef
    Definition Classes
    InvariantFunctor

Abstract Value Members

  1. abstract def xmap[A, B](ma: F[A], f: (A) => B, g: (B) => A): F[B]
    Definition Classes
    InvariantFunctor
  2. abstract def xmapN[A, B, Z](fa: F[A], fb: F[B])(f: (A, B) => Z)(g: (Z) => (A, B)): F[Z]

    The sole primitive combinator of InvariantApply.

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. def applyApplicative: InvariantApply[[a]\/[F[a], a]]

    An identity can be added to InvariantApply.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def invariantFunctorLaw: InvariantFunctorLaw
    Definition Classes
    InvariantFunctor
  12. val invariantFunctorSyntax: InvariantFunctorSyntax[F]
    Definition Classes
    InvariantFunctor
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. def product[G[_]](implicit G: InvariantApply[G]): InvariantApply[[a](F[a], G[a])]

    Two InvariantApplys can be run at the same time.

  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. def tupleN[A, B, C, D, E](fa: F[A], fb: F[B], fc: F[C], fd: F[D], fe: F[E]): F[(A, B, C, D, E)]
  21. def tupleN[A, B, C, D](fa: F[A], fb: F[B], fc: F[C], fd: F[D]): F[(A, B, C, D)]
  22. def tupleN[A, B, C](fa: F[A], fb: F[B], fc: F[C]): F[(A, B, C)]
  23. def tupleN[A, B](fa: F[A], fb: F[B]): F[(A, B)]
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. def xmapN[A, B, C, D, E, Z](fa: F[A], fb: F[B], fc: F[C], fd: F[D], fe: F[E])(f: (A, B, C, D, E) => Z)(g: (Z) => (A, B, C, D, E)): F[Z]
  28. def xmapN[A, B, C, D, Z](fa: F[A], fb: F[B], fc: F[C], fd: F[D])(f: (A, B, C, D) => Z)(g: (Z) => (A, B, C, D)): F[Z]
  29. def xmapN[A, B, C, Z](fa: F[A], fb: F[B], fc: F[C])(f: (A, B, C) => Z)(g: (Z) => (A, B, C)): F[Z]
  30. final def xmapN[A, Z](fa: F[A])(f: (A) => Z)(g: (Z) => A): F[Z]

    alias for xmap

    alias for xmap

    Annotations
    @inline()
  31. def xmapb[A, B](ma: F[A])(b: Bijection[A, B]): F[B]
    Definition Classes
    InvariantFunctor
  32. def xmapi[A, B](ma: F[A])(iso: scalaz.Isomorphism.<=>[A, B]): F[B]
    Definition Classes
    InvariantFunctor

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from InvariantFunctor[F]

Inherited from AnyRef

Inherited from Any

Ungrouped