Hi Alex, I think you're seeing that DrRacket compiles `require`d modules to bytecode automatically, while plain `racket` on the command line doesn't.
You can get the same error as DrRacket by using `raco make` before `racket` on the command line. Matthew At Sun, 2 Oct 2016 05:58:31 -0700 (PDT), Alex wrote: > Hey Matthew, > > I was having a look in to Scott's issue as well, and while I know (as a > Racket > beginner) I didn't have much chance of figuring out his problem, I thought > I'd > take a look anyway, just for fun... > > Something I noticed while poking around is this error only seems to be appear > when Scott's example code is run from inside Dr. Racket. However, running the > *exact* same code files from the command-line version of Racket produces a > totally different error: > > > error-me%: undefined; > > cannot reference an identifier before its definition > > I'd be really interested to know why Dr. Racket and the Racket command-line > util don't seem to exhibit the same behaviour? Unless, maybe it's my machine, > in which case - I'll get back in my box... :-) > > Alex. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.