فهرست منبع

added zn* function definition

ada 5 سال پیش
والد
کامیت
f4fe7408cf
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      lisp/lisp.rs

+ 2 - 1
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"),