From 48629210e56669e53106268a9e0a705b9cdb7e69 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 3 Apr 2024 22:48:24 -0500 Subject: Uh logo stuff oops --- repl.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'repl.lua') diff --git a/repl.lua b/repl.lua index 016df17..c2233c4 100644 --- a/repl.lua +++ b/repl.lua @@ -11,6 +11,8 @@ local function schemeprint (x) print("#t") elseif x == false then print("#f") + elseif x == nil then + print("#n") else print(x) end @@ -29,7 +31,10 @@ function m.repl (prompt, infile, out) -- filename, nil (in which case it will be stdout), or false (which -- suppresses output) local inport = read.inport(infile) - if out ~= false then io.output(out) end + if out ~= false then + io.output(out) + io.write(lam) + end io.output():setvbuf("line") if prompt then stderr = io.open("/dev/stderr", "w") -- Linux-only ! -- cgit 1.4.1-21-gabe81