Module rust_lisp::utils

source ·

Traits

Functions

Given a Value assumed to be a Value::List(), grab the item at index and err if there isn’t one.
Given a Value assumed to be a Value::List(), and some type T, grab the item at index in the list and try converting it to type T. RuntimeError if the argument doesn’t exist, or if it is the wrong type.