Function callisp::special_forms::lambda

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

Create a lambda function.

Example: (lambda (x) (+ x 1)) creates a function that adds 1 to x.