#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:

  1. data

    1. List

      1. Iter

        1. IterRef

        2. Array

          1. Map

            1. IterRef

              1. Iter

              2. Set

                1. IterRef

                  1. Iter

                  2. Heap

                    1. Iter

                    2. Iterator

                      1. Empty

                        1. One

                          1. FromNext

                            1. Map

                              1. Filter

                                1. FilterMap

                                  1. Skip

                                    1. SkipWhile

                                      1. Take

                                        1. TakeWhile

                                          1. MapWhile

                                            1. Zip

                                              1. Flatten

                                                1. Concat

                                                  1. Enumerate

                                                    1. Inspect

                                                      1. Collect

                                                        1. Fused

                                                      2. debug

                                                        1. Show

                                                          1. ShowTuple

                                                            1. ShowObject

                                                              1. ShowVariant

                                                              2. WithState

                                                                1. Frame

                                                                2. derive

                                                                  1. Tuple

                                                                    1. Object

                                                                      1. Composite

                                                                        1. Struct

                                                                          1. Enum

                                                                            1. Variant

                                                                            2. logical

                                                                              1. Bool

                                                                                1. Option

                                                                                  1. Result

                                                                                  2. numeric

                                                                                    1. N32

                                                                                      1. N64

                                                                                        1. Nat

                                                                                          1. div_rem

                                                                                          2. I32

                                                                                            1. Int

                                                                                              1. F32

                                                                                                1. parse

                                                                                                  1. to_string

                                                                                                2. ops

                                                                                                  1. arithmetic

                                                                                                    1. Add

                                                                                                      1. Sub

                                                                                                        1. Mul

                                                                                                          1. Pow

                                                                                                            1. Div

                                                                                                              1. Rem

                                                                                                                1. Pos

                                                                                                                  1. Neg

                                                                                                                  2. bitwise

                                                                                                                    1. BitAnd

                                                                                                                      1. BitOr

                                                                                                                        1. BitXor

                                                                                                                          1. Shl

                                                                                                                            1. Shr

                                                                                                                              1. Not

                                                                                                                              2. comparison

                                                                                                                                1. Eq

                                                                                                                                  1. Ord

                                                                                                                                    1. Lt

                                                                                                                                      1. Le

                                                                                                                                      2. elementwise

                                                                                                                                        1. binary

                                                                                                                                          1. singleton_singleton

                                                                                                                                            1. tuple_tuple

                                                                                                                                              1. singleton_scalar

                                                                                                                                                1. tuple_scalar

                                                                                                                                                2. unary

                                                                                                                                                  1. singleton

                                                                                                                                                    1. tuple

                                                                                                                                                  2. flex

                                                                                                                                                    1. Fork

                                                                                                                                                      1. Drop

                                                                                                                                                      2. Range

                                                                                                                                                        1. Bound

                                                                                                                                                          1. Unbounded

                                                                                                                                                            1. Inclusive

                                                                                                                                                              1. Exclusive

                                                                                                                                                              2. Step

                                                                                                                                                              3. Concat

                                                                                                                                                                1. Cast

                                                                                                                                                                  1. Fn

                                                                                                                                                                  2. rng

                                                                                                                                                                    1. Pcg32

                                                                                                                                                                    2. unicode

                                                                                                                                                                      1. Char

                                                                                                                                                                        1. String

                                                                                                                                                                        2. unsafe

                                                                                                                                                                          1. IO

                                                                                                                                                                            1. util

                                                                                                                                                                              1. prelude