#root root/root.vi
Vine’s standard library.
data root/data/data.vi
Data structures.
debug root/debug/debug.vi
Debugging-related utilities.
derive root/derive.vi
logical root/logical/logical.vi
numeric root/numeric/numeric.vi
ops root/ops/ops.vi
rng root/rng/rng.vi
Pseudo-random number generation utilities.
Note that Vine programs are deterministic, so all RNGs require a seed.
unicode root/unicode/unicode.vi
unsafe root/unsafe.vi
IO root/IO.vi
type IO;
A special primitive type used to interact with the outside world. Values of this type cannot be explicitly constructed; instead, an IO handle is passed in to main at the start of the program.
util root/util.vi
prelude root/prelude.vi
The prelude, which defines items that are in scope without needing to be explicitly imported.
The prelude includes:
IO- numeric types (
N32,N64,Nat,I32,Int,F32) List,Char, andString- logical types (
Bool,Option,Result) and their variants (None,Some,Ok,Err) - the
ForkandDroptraits - core utility functions (
black_box,replace,swap) - the
debugmodule, theShowtrait, and the.dbg/.dbg_msgmethods - the
unsafemodule