Companion object for easy importing – rather than mixing in – to allow DisjunctionValues
operations.
Import singleton in case you prefer to import rather than mix in
Companion object for easy importing – rather than mixing in – to allow ValidationValues
operations.
Companion object for easy importing – rather than mixing in – to allow ValidationValues
operations.
This will permit you to invoke a value
method on an instance of a scalaz.Validation
,
which attempts to unwrap the right validation
Similar to org.scalatest.OptionValues.Valuable
Meant to allow you to make statements like:
result.value should be > 15
Where it only matches if result is Success(9)
Otherwise your test will fail, indicating that it was left instead of right
org.scalatest.OptionValues.Valuable
Companion object for easy importing – rather than mixing in – to allow
DisjunctionValues
operations.This will permit you to invoke a
value
method on an instance of ascalaz.\/
, which attempts to unwrap the right disjunctionSimilar to
org.scalatest.OptionValues.Valuable
Meant to allow you to make statements like:
Where it only matches if result is
\/-(9)
Otherwise your test will fail, indicating that it was left instead of right
org.scalatest.OptionValues.Valuable