Expand description
Utility functions.
Enums§
- GcVoid
- A version of
void::Void
that is GC-able.
Functions§
- as_list
- Converts a
Value
to aVec<Value>
. Will only convert cons-lists, not vectors. - as_
list_ meta - Converts a
Value
to aVec<(Value, ValueMeta)>
. Will only convert cons-lists, not vectors. - as_shl
- Converts the given
Value
to a symbol and rest values. - as_
sym_ list - Converts a
Value
to aVec<Symbol>
. Will only convert cons-lists, not vectors. - from_
assoc - Converts a list of symbol-value pairs to a hashmap.
- from_
list_ meta - Converts a
Vec<(Value, ValueMeta)>
to a cons-list. - is_
internal - Returns whether the given import path is for a module that is “internal,”
that is, a module that will not automatically import
std/prelude
. - is_shl
- Returns whether the given
Value
is a cons-list whose head is the given symbol. - to_
assoc - Converts a
HashMap<Symbol, Value>
(or a compatibleIntoIterator
) to an assoc.