scalus.prelude
package scalus.prelude
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object AssocMap
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object List
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Maybe
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Extensions
Extensions
extension (x: Boolean)
Trace the expression only if it evaluates to false
. This is useful to trace an entire evaluation path that led to a final expression being false
.
Trace the expression only if it evaluates to false
. This is useful to trace an entire evaluation path that led to a final expression being false
.
Attributes
- Returns
-
the value of the expression
- Example
-
mustBeAfter.? && mustSpendToken.?
will trace "mustSpendToken ? False" if
mustBeAfter
istrue
andmustSpendToken
isfalse
.
In this article