Skip to main content

Crate sim_lib_numbers_bool

Crate sim_lib_numbers_bool 

Source
Expand description

The numbers/bool domain: boolean literals and values as the base of the number-promotion lattice, with edges widening into the integer and float domains.

Structs§

BoolNumberDomain
The boolean number domain at the base of the promotion lattice: parses true/false literals and declares the widening edges into the integer and float domains.
BoolNumbersLib
The library that installs the numbers/bool domain: its literal class and shapes, value shape, boolean ops, and widening promotion rules.

Functions§

number_domain
The numbers/bool domain symbol shared by this crate’s literals, values, and ops.