zio.prelude.laws

Members list

Type members

Classlikes

final implicit class AssertionSyntax[A](self: A) extends AnyVal

Provides implicit syntax for assertions.

Provides implicit syntax for assertions.

Attributes

Supertypes
class AnyVal
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case object BuildInfo

This object was generated by sbt-buildinfo.

This object was generated by sbt-buildinfo.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
BuildInfo.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait Contravariant[[F[_]] =>> ContravariantDeriveEqual[F], Equal, Any]
class Object
trait Matchable
class Any
Self type
object CovariantLaws extends Covariant[[F[_]] =>> CovariantDeriveEqual[F], Equal]

Attributes

Supertypes
trait Covariant[[F[_]] =>> CovariantDeriveEqual[F], Equal, Any]
class Object
trait Matchable
class Any
Self type
object EqualLaws extends Lawful[Equal]

Attributes

Supertypes
trait ZLawful[Equal, Any]
class Object
trait Matchable
class Any
Self type
EqualLaws.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object ForEachLaws extends Covariant[[F[_]] =>> DeriveEqualForEach[F], Equal]

Attributes

Supertypes
trait Covariant[[F[_]] =>> DeriveEqualForEach[F], Equal, Any]
class Object
trait Matchable
class Any
Self type
object GenFs

Provides higher kinded generators.

Provides higher kinded generators.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
GenFs.type
object Gens

Provides generators for data types from ZIO Prelude.

Provides generators for data types from ZIO Prelude.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Gens.type
object HashLaws extends Lawful[Hash]

Attributes

Supertypes
trait ZLawful[Hash, Any]
class Object
trait Matchable
class Any
Self type
HashLaws.type

Attributes

Supertypes
trait ZLawful[EqualIdempotent, Any]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait Invariant[[F[_]] =>> DeriveEqualIdentityBothInvariant[F], Equal, Any]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait ZLawful[EqualIdentity, Any]
class Object
trait Matchable
class Any
Self type
object InverseLaws extends Lawful[EqualInverse]

Attributes

Supertypes
trait ZLawful[EqualInverse, Any]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait Covariant[[F[_]] =>> DeriveEqualNonEmptyForEach[F], Equal, Any]
class Object
trait Matchable
class Any
Self type
object OrdLaws extends Lawful[Ord]

Attributes

Supertypes
trait ZLawful[Ord, Any]
class Object
trait Matchable
class Any
Self type
OrdLaws.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object PartialOrdLaws extends Lawful[PartialOrd]

Attributes

Supertypes
trait ZLawful[PartialOrd, Any]
class Object
trait Matchable
class Any
Self type

Value members

Inherited methods

def assertionRec[A, B](name: String)(assertion: Assertion[B])(get: (=> A) => Option[B]): Assertion[A]

Attributes

Inherited from:
TestAssertions

Makes a new assertion that requires a value equal the specified value.

Makes a new assertion that requires a value equal the specified value.

Attributes

Inherited from:
TestAssertions

Makes a new assertion that requires a validation failure satisfying a specified assertion.

Makes a new assertion that requires a validation failure satisfying a specified assertion.

Attributes

Inherited from:
TestAssertions
def isGreaterThan[A](reference: A)(implicit ord: PartialOrd[A]): Assertion[A]

Makes a new assertion that requires the value be greater than the specified reference value.

Makes a new assertion that requires the value be greater than the specified reference value.

Attributes

Inherited from:
TestAssertions

Makes a new assertion that requires the value be greater than or equal to the specified reference value.

Makes a new assertion that requires the value be greater than or equal to the specified reference value.

Attributes

Inherited from:
TestAssertions
def isLessThan[A](reference: A)(implicit ord: PartialOrd[A]): Assertion[A]

Makes a new assertion that requires the value be less than the specified reference value.

Makes a new assertion that requires the value be less than the specified reference value.

Attributes

Inherited from:
TestAssertions

Makes a new assertion that requires the value be less than or equal to the specified reference value.

Makes a new assertion that requires the value be less than or equal to the specified reference value.

Attributes

Inherited from:
TestAssertions

Makes a new assertion that requires a validation failure satisfying a specified assertion.

Makes a new assertion that requires a validation failure satisfying a specified assertion.

Attributes

Inherited from:
TestAssertions

Implicits

Implicits

final implicit def AssertionSyntax[A](self: A): AssertionSyntax[A]

Provides implicit syntax for assertions.

Provides implicit syntax for assertions.

Attributes