Kleenean

com.phasmidsoftware.comparer.Kleenean
See theKleenean companion enum
object Kleenean

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Kleenean.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(b: Boolean): Kleenean

Construct a Truth value given the input b.

Construct a Truth value given the input b.

Value parameters

b

a Boolean.

Attributes

Returns

a Kleenean.

def apply(x: Int): Kleenean

Construct a Kleenean according to the given value x.

Construct a Kleenean according to the given value x.

Value parameters

x

an Int.

Attributes

Returns

if x==0 then Maybe else apply(x>0)