shithub: femtolisp

Download patch

ref: 534e73b59d204c56a3b3cfa358909b3f7f89ad66
parent: 2967f7480c224b0928255cf44ca15cc4c5b08dd7
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Oct 21 19:38:13 EDT 2024

make the current function name "λ" as well, instead of "lambda"

--- a/flisp.c
+++ b/flisp.c
@@ -1003,7 +1003,7 @@
 					}
 					nargs = n;
 					function_t *fn = (function_t*)ptr(func);
-					curr_fname = fn->name == LAMBDA ? "lambda" : symbol_name(fn->name);
+					curr_fname = fn->name == LAMBDA ? "λ" : symbol_name(fn->name);
 					goto apply_cl_top;
 				}else{
 					i = uintval(func);