This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

no matching syntax-rule for define


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]