booleanInstance

object booleanInstance extends Enum[Boolean] with Show[Boolean]
trait Show[Boolean]
trait Enum[Boolean]
trait Order[Boolean]
trait Equal[Boolean]
class Object
trait Matchable
class Any

Type members

Inherited classlikes

trait EnumLaw
Inherited from
Enum
trait EqualLaw
Inherited from
Equal
trait OrderLaw
Inherited from
Order

Value members

Concrete methods

override
def equalIsNatural: Boolean
Definition Classes
override
def max: Option[Boolean]
Definition Classes
override
def min: Option[Boolean]
Definition Classes
def order(x: Boolean, y: Boolean): Ordering
def pred(b: Boolean): Boolean
override
def predn(n: Int, b: Boolean): Boolean
Definition Classes
override
def show(f: Boolean): Cord
Definition Classes
override
def shows(f: Boolean): String
Definition Classes
def succ(b: Boolean): Boolean
override
def succn(n: Int, b: Boolean): Boolean
Definition Classes

Inherited methods

def apply(x: Boolean, y: Boolean): Ordering
Inherited from
Order
override
def contramap[B](f: B => Boolean): Order[B]
Definition Classes
Inherited from
Order
Inherited from
Enum
def equal(x: Boolean, y: Boolean): Boolean
Inherited from
Order
Inherited from
Equal
def from(a: Boolean): EphemeralStream[Boolean]
Inherited from
Enum
def fromStep(n: Int, a: Boolean): EphemeralStream[Boolean]
Inherited from
Enum
def fromStepTo(n: Int, a: Boolean, z: Boolean): EphemeralStream[Boolean]
Inherited from
Enum
def fromStepToL(n: Int, a: Boolean, z: Boolean): IList[Boolean]
Inherited from
Enum
def fromTo(a: Boolean, z: Boolean): EphemeralStream[Boolean]
Inherited from
Enum
def fromToL(a: Boolean, z: Boolean): IList[Boolean]
Inherited from
Enum
def greaterThan(x: Boolean, y: Boolean): Boolean
Inherited from
Order
def greaterThanOrEqual(x: Boolean, y: Boolean): Boolean
Inherited from
Order
def lessThan(x: Boolean, y: Boolean): Boolean
Inherited from
Order
def lessThanOrEqual(x: Boolean, y: Boolean): Boolean
Inherited from
Order
def max(x: Boolean, y: Boolean): Boolean
Inherited from
Order
def min(x: Boolean, y: Boolean): Boolean
Inherited from
Order
Inherited from
Order
def predState[X](f: Boolean => X): State[Boolean, X]

Produce a state value that executes the predecessor (pred) on each spin and executing the given function on the current value. This is useful to implement decremental looping. Evaluating the state value requires a beginning to decrement from.

Produce a state value that executes the predecessor (pred) on each spin and executing the given function on the current value. This is useful to implement decremental looping. Evaluating the state value requires a beginning to decrement from.

Value Params
f

The function to execute on each spin of the state value.

Inherited from
Enum
def predStateMax[X, Y](f: Boolean => X, k: X => Y): Option[Y]

Produce a value that starts at the maximum (if it exists) and decrements through a state value with the given mapping function. This is useful to implement decremental looping.

Produce a value that starts at the maximum (if it exists) and decrements through a state value with the given mapping function. This is useful to implement decremental looping.

Value Params
f

The function to execute on each spin of the state value.

k

The mapping function.

Inherited from
Enum
def predStateMaxM[X, Y](f: Boolean => X, k: X => State[Boolean, Y]): Option[Y]

Produce a value that starts at the maximum (if it exists) and decrements through a state value with the given binding function. This is useful to implement decremental looping.

Produce a value that starts at the maximum (if it exists) and decrements through a state value with the given binding function. This is useful to implement decremental looping.

Value Params
f

The function to execute on each spin of the state value.

k

The binding function.

Inherited from
Enum
def predStateZero[X, Y](f: Boolean => X, k: X => Y)(implicit m: Monoid[Boolean]): Y

Produce a value that starts at zero (Monoid.zero) and decrements through a state value with the given mapping function. This is useful to implement decremental looping.

Produce a value that starts at zero (Monoid.zero) and decrements through a state value with the given mapping function. This is useful to implement decremental looping.

Value Params
f

The function to execute on each spin of the state value.

k

The mapping function.

m

The implementation of the zero function from which to start.

Inherited from
Enum
def predStateZeroM[X, Y](f: Boolean => X, k: X => State[Boolean, Y])(implicit m: Monoid[Boolean]): Y

Produce a value that starts at zero (Monoid.zero) and decrements through a state value with the given binding function. This is useful to implement decremental looping.

Produce a value that starts at zero (Monoid.zero) and decrements through a state value with the given binding function. This is useful to implement decremental looping.

Value Params
f

The function to execute on each spin of the state value.

k

The binding function.

m

The implementation of the zero function from which to start.

Inherited from
Enum
def predx: Kleisli[Option, Boolean, Boolean]

Moves to the predecessor, unless at the minimum.

Moves to the predecessor, unless at the minimum.

Inherited from
Enum
def reverseOrder: Order[Boolean]
Inherited from
Order
def sort(x: Boolean, y: Boolean): (Boolean, Boolean)
Inherited from
Order
def succState[X](f: Boolean => X): State[Boolean, X]

Produce a state value that executes the successor (succ) on each spin and executing the given function on the current value. This is useful to implement incremental looping. Evaluating the state value requires a beginning to increment from.

Produce a state value that executes the successor (succ) on each spin and executing the given function on the current value. This is useful to implement incremental looping. Evaluating the state value requires a beginning to increment from.

Value Params
f

The function to execute on each spin of the state value.

Inherited from
Enum
def succStateMin[X, Y](f: Boolean => X, k: X => Y): Option[Y]

Produce a value that starts at the minimum (if it exists) and increments through a state value with the given mapping function. This is useful to implement incremental looping.

Produce a value that starts at the minimum (if it exists) and increments through a state value with the given mapping function. This is useful to implement incremental looping.

Value Params
f

The function to execute on each spin of the state value.

k

The mapping function.

Inherited from
Enum
def succStateMinM[X, Y](f: Boolean => X, k: X => State[Boolean, Y]): Option[Y]

Produce a value that starts at the minimum (if it exists) and increments through a state value with the given binding function. This is useful to implement incremental looping.

Produce a value that starts at the minimum (if it exists) and increments through a state value with the given binding function. This is useful to implement incremental looping.

Value Params
f

The function to execute on each spin of the state value.

k

The binding function.

Inherited from
Enum
def succStateZero[X, Y](f: Boolean => X, k: X => Y)(implicit m: Monoid[Boolean]): Y

Produce a value that starts at zero (Monoid.zero) and increments through a state value with the given mapping function. This is useful to implement incremental looping.

Produce a value that starts at zero (Monoid.zero) and increments through a state value with the given mapping function. This is useful to implement incremental looping.

Value Params
f

The function to execute on each spin of the state value.

k

The mapping function.

m

The implementation of the zero function from which to start.

Inherited from
Enum
def succStateZeroM[X, Y](f: Boolean => X, k: X => State[Boolean, Y])(implicit m: Monoid[Boolean]): Y

Produce a value that starts at zero (Monoid.zero) and increments through a state value with the given binding function. This is useful to implement incremental looping.

Produce a value that starts at zero (Monoid.zero) and increments through a state value with the given binding function. This is useful to implement incremental looping.

Value Params
f

The function to execute on each spin of the state value.

k

The binding function.

m

The implementation of the zero function from which to start.

Inherited from
Enum
def succx: Kleisli[Option, Boolean, Boolean]

Moves to the successor, unless at the maximum.

Moves to the successor, unless at the maximum.

Inherited from
Enum
def toScalaOrdering: Ordering[Boolean]
Note

Order.fromScalaOrdering(toScalaOrdering).order(x, y) = this.order(x, y)

Inherited from
Order

Concrete fields

val conjunction: Monoid[Boolean]
val disjunction: Monoid[Boolean]

Inherited fields

val enumSyntax: EnumSyntax[Boolean]
Inherited from
Enum
val equalSyntax: EqualSyntax[Boolean]
Inherited from
Equal
val orderSyntax: OrderSyntax[Boolean]
Inherited from
Order
val showSyntax: ShowSyntax[Boolean]
Inherited from
Show