Items available everywhere without having to
This file is the similar to the Rust's "prelude", items defined here are
available in the root lexical-scope, so they are available everywhere (but can be
shadowed by local definitions).
In general, prelude should only contain use aliases to items defined elsewhere.
8-bit unsigned integer (byte)
Native unsigned integer (machine word)
Native signed integer (machine word)
Single precision floating point type
Double precision floating point type
A placeholder for the
Self type in the protocol of a
Either a success value or an error value.
Prints a formatted string to standard output.
Ungracefully terminate the thread or process with an error message.
Prints a formatted string to standard output with newline.
Causes the compilation to fail if reached.
Prints a formatted string to standard error.
Extract the success value or short-circuit the calling function.
Prints a formatted string to standard error with newline.
cond evaluates to false.
rhs are not equal.
rhs are equal.
Treats the location as unreachable during program flow.
A helper for printing a value of a subexpression for debugging purposes.