abstract class ComposeLaw[-CapsF[_[-_]], -Caps[_]] extends Contravariant[CapsF, Caps, Any]
Constructs a law from a pure function taking one parameterized value and two functions that can be composed.
- Self Type
- ComposeLaw[CapsF, Caps]
- Alphabetic
- By Inheritance
- ComposeLaw
- Contravariant
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ComposeLaw(label: String)
Abstract Value Members
- abstract def apply[F[-_], A, B, C](fa: F[A], f: (B) => A, g: (C) => B)(implicit arg0: CapsF[F], arg1: Caps[A], arg2: Caps[B], arg3: Caps[C]): TestResult
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +[CapsF1[x[-_]] <: CapsF[x[_]], Caps1[x] <: Caps[x], R1 <: Any](that: Contravariant[CapsF1, Caps1, R1]): Contravariant[CapsF1, Caps1, R1]
Combine these laws with the specified laws to produce a set of laws that require both sets of laws to be satisfied.
Combine these laws with the specified laws to produce a set of laws that require both sets of laws to be satisfied.
- Definition Classes
- Contravariant
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def run[R, F[-_], A](genF: GenF[R, F], gen: Gen[R, A])(implicit arg0: CapsF[F], arg1: Caps[A], trace: Trace): URIO[R, TestResult]
Test that values of type
F[+_]
satisfy the laws using the specified function to construct a generator ofF[A]
values given a generator ofA
values.Test that values of type
F[+_]
satisfy the laws using the specified function to construct a generator ofF[A]
values given a generator ofA
values.- Definition Classes
- ComposeLaw → Contravariant
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()