ZLawfulF
object ZLawfulF
ZLawfulF[CapsF, Caps, R]
describes a set of laws that a parameterized type
F[A]
with capabilities CapsF
is expected to satisfy with respect to all
types A
that have capabilities Caps
. Lawful instances can be combined
using +
to describe a set of capabilities and all of the laws that those
capabilities are expected to satisfy.
Type members
Classlikes
ZLawful
for contravariant type constructors.
ZLawful
for contravariant type constructors.
ZLawful
for covariant type constructors.
ZLawful
for covariant type constructors.
ZLawful
for invariant type constructors.
ZLawful
for invariant type constructors.