This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
no matching syntax-rule for define
- From: Maxim Veksler <maxim at vekslers dot org>
- To: kawa at sourceware dot org
- Date: Wed, 15 Dec 2010 01:51:39 +0200
- Subject: no matching syntax-rule for define
- References: <AANLkTinZ9-4S052HBtHgG6RBzVtbk_r_u0kM_v8ha0jK@mail.gmail.com>
Hello,
I'm learning the language.
I'm following the course
http://www.youtube.com/user/StanfordUniversity#p/c/9D558D49CA734A02/18/_cV8NWQCxnE
,?where the professor explains (at time 41:10) the expression:?(define
add (x y) (+ x y))
For some reason when I type this into kawa prompt (java -jar
kawa-1.11.jar), I get this error:
#|kawa:43|# (define add (x y) (+ x y))
/dev/stdin:43:1: no matching syntax-rule for define
What is wrong?
Thank you,
Maxim