diff options
| author | Felix Perktold <Felix.Perktold@student.uibk.ac.at> | 2026-02-01 13:37:50 +0100 |
|---|---|---|
| committer | Felix Perktold <Felix.Perktold@student.uibk.ac.at> | 2026-02-01 13:37:50 +0100 |
| commit | 36425a408d841093a12e2b74328bcb7aed6acafc (patch) | |
| tree | 7661fbc51886e3dd030d3e71be21057be5ab9d09 /lisp.y | |
| parent | f8fe85b3203ea5e675af6fa4a66c3c8b7c7575e3 (diff) | |
improved lambda printingmaster
Diffstat (limited to 'lisp.y')
| -rw-r--r-- | lisp.y | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -12,8 +12,7 @@ void eval_and_print_REPL(value *v) { if(!v) { return; } if (v->type == VT_PAIR && car(v)->type == VT_SYMBOL && !strcmp(car(v)->as.sym, "define")) { eval(global_env, v); - printf(";> defined "); - println_value(car(cdr(v))); + printf(";> defined %s\n", car(cdr(v))->as.sym); return; // Skip printing for define so infinite lists do not eval } value *evaled = eval(global_env, v); |
