std.bool

The boolean type.

Types

type Bool = 
    | False
    | True

Bool represents a value which can only be True or False

Values

let not x : Bool -> Bool

Boolean 'not'

let xor x y : Bool -> Bool -> Bool

Boolean 'exclusive or'

let conjunctive : { semigroup : Semigroup Bool, monoid : Monoid Bool }

let disjunctive : { semigroup : Semigroup Bool, monoid : Monoid Bool }

let exclusive : { semigroup : Semigroup Bool, monoid : Monoid Bool, group : Group Bool }

let eq : Eq Bool

Eq a defines equality (==) on a

let ord : Ord Bool

Ord a defines an ordering on a

Show a represents a conversion function from a to a readable string.