From f4fe7408cf70be03f2eb8bba8fb26faffe7af197 Mon Sep 17 00:00:00 2001 From: ada Date: Tue, 27 Oct 2020 18:28:23 +0100 Subject: [PATCH] added zn* function definition --- lisp/lisp.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/lisp.rs b/lisp/lisp.rs index 8dd766bca..59c70eced 100644 --- a/lisp/lisp.rs +++ b/lisp/lisp.rs @@ -311,7 +311,8 @@ fn eval(mut ast: MalVal, mut env: Env) -> MalRet { ast = a.clone(); continue 'tco; } - _ => error("attempt to call non-function"), + _ => { println!("{:?}", el); + error("attempt to call non-function")}, } } _ => error("expected a list"),