abstract class Law1[-CapsBothF[_[-_, +_]], -CapsLeft[_], -CapsRight[_]] extends Divariant[CapsBothF, CapsLeft, CapsRight, Any]
Constructs a law from a pure function taking a single parameter.
- Self Type
- Law1[CapsBothF, CapsLeft, CapsRight]
- Alphabetic
- By Inheritance
- Law1
- Divariant
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Law1(label: String)
Abstract Value Members
- abstract def apply[F[-_, +_], A, B](fa: F[A, B])(implicit arg0: CapsBothF[F], arg1: CapsLeft[A], arg2: CapsRight[B]): TestResult
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+[CapsF1[x[-_, +_]] <: CapsBothF[x[_, _]], CapsLeft1[x] <: CapsLeft[x], CapsRight1[x] <: CapsRight[x], R1 <: Any](that: Divariant[CapsF1, CapsLeft1, CapsRight1, R1]): Divariant[CapsF1, CapsLeft1, CapsRight1, 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
- Divariant
-
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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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, B](genF: GenF2[R, F], gen: Gen[R, B])(implicit arg0: CapsBothF[F], arg1: CapsLeft[A], arg2: CapsRight[B], trace: Trace): URIO[R, TestResult]
Test that values of type
F[+_,-_]satisfy the laws using the specified function to construct a generator ofF[A,B]values given a generator ofBvalues. -
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()