Hi,
(I'm using Dr Scheme version 4.2.2, with language R5RS, and the "Disallow
redefining" is *not* checked.)

The following code works perfectly:
(define exp
  (lambda (b e)
    (if (= e 0) 1
        (* b (exp b (- e 1))))))
(exp 2 5)

However, when I include the line (#%require scheme/base), I get an error:
exp: expects 1 argument, given 2: 2 4

How is that possible?

Many thanks,
Yaron
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to