Function callisp::special_forms::define

source ·
pub fn define(args: Vec<Ast>, env: &mut Environment) -> Result<Ast, LispError>
Expand description

Create a binding in the current environment.

Example: (define x 3) binds x to 3. Now the expression x returns 3.