## std.booleans: Booleans and related types. Mostly compiler magic. ## A stub module for documentation. Mostly compiler magic. pub type unit = union[sole] pub type bool = union[false, true] ## Boolean equality @[magic] pub func ==(a: bool, b: bool): bool ## Boolean inequality @[magic] pub func !=(a: bool, b: bool): bool ## Boolean negation @[magic] pub func not(a: bool): bool ## Boolean conjunction @[magic] pub func and(a: bool, b: bool): bool ## Boolean disjunction @[magic] pub func or(a: bool, b: bool): bool ## Boolean exclusive disjunction @[magic] pub func xor(a: bool, b: bool): bool