lisp

solutions to Lisp in Small Pieces
Log | Files | Refs | Feed

commit 37a2198cb2509a95b688daf5d0b9a9017b6f7d6a
parent f818bdebb664cab90a885062b8ff5ed49bf74f5d
Author: Jenny Doe <tng@soykaf.me>
Date:   Mon,  7 Jan 2019 22:12:11 +0100

Fixing a bug (unintended behavior)

Diffstat:
Mchapter1/procedures.scm | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chapter1/procedures.scm b/chapter1/procedures.scm @@ -1,6 +1,6 @@ (define (invoke proc args) (if (procedure? proc) - (apply proc args) + (apply proc (list args)) (error 'invoke "Not a procedure" proc))) (define (eprogn exps env)