Hi,

I have the following code in a file named `foo.rkt`:

```
#lang racket/load

(provide foo)

(define foo 'bar)
```

When trying to run the code, I got the following confusing error:

> `provide`: not at module level in: `(provide foo)`

What does this mean?  Why `provide` is not at module level?
Use `#lang racket` instead does not pose this problem.  I am
confused.  Any idea?


Yours truly,

Yi
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to