tisp

tiny lisp
git clone git://edryd.org/tisp
Log | Files | Refs | LICENSE

commit 71245640e69ee80bba56fe634b3ab1ed0880a135
parent 9878403b3312eb42f9a18b9cd15fb9badc49a410
Author: Ed van Bruggen <edvb@uw.edu>
Date:   Mon, 14 Oct 2019 16:22:15 -0700

Fix ans not being referable from repl

Diffstat:
tibs/repl.tsp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tibs/repl.tsp b/tibs/repl.tsp @@ -4,8 +4,8 @@ (unless (and (pair? expr) (= (car expr) 'quit)) (let ((ans (eval expr))) (unless (void? ans) - (disp-string ans))) - (repl)))) + (disp-string ans)) + (repl))))) ;; simple repl (define (repl-simple)