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"),