Skip to main content

Module misc

Module misc 

Source
Expand description

Primitives that belong to no data type.

Functions§

obj_tag_nat⚠
The constructor index of a value, as a Nat.
panic_fn⚠
Lean’s panic!. Lean’s own runtime prints the message and continues with a default value; here the Rust program panics, so that a violated assumption cannot go unnoticed.
panic_fn_borrowed⚠
panic_fn for a default value the caller keeps.
system_platform_nbits
The number of bits in a word of the target, as a Nat. Takes Lean’s Unit.
uint64_mix_hash
Combines two hash values.