boolean
scala.compiletime.ops.boolean$
object boolean
Attributes
- Source
- boolean.scala
- Graph
-
- Supertypes
- Self type
-
boolean.type
Members list
Type members
Types
Negation of a Boolean
singleton type.
Negation of a Boolean
singleton type.
import compiletime.ops.boolean._
val notFalse: ![false] = true
val notTrue: ![true] = false
Attributes
- Source
- boolean.scala
Conjunction of two Boolean
singleton types.
Conjunction of two Boolean
singleton types.
import compiletime.ops.boolean._
val a: true && true = true
val b: false && true = false
Attributes
- Source
- boolean.scala
Exclusive disjunction of two Boolean
singleton types.
Exclusive disjunction of two Boolean
singleton types.
import compiletime.ops.boolean._
val a: true ^ true = false
val b: false ^ true = true
Attributes
- Source
- boolean.scala
Disjunction of two Boolean
singleton types.
Disjunction of two Boolean
singleton types.
import compiletime.ops.boolean._
val a: true || false = true
val b: false || false = false
Attributes
- Source
- boolean.scala
In this article