[racket] "#%app: unbound identifier" error in DrRacket

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sun Nov 9 08:58:26 EST 2014

I opened a new DrRacket window and put this in it:

#lang racket
(module+ main
  (require rackunit)
  (check-equal? 1 1))

and didn't see the error, but maybe I need a bigger program somehow?


On Sun, Nov 9, 2014 at 1:06 AM, Matthew Butterick <mb at mbtype.com> wrote:
> Is it just me, or is DrRacket (, built from the current repo) frequently popping an error like this:
> unsaved editor:3:0: #%app: unbound identifier; also, no #%app syntax transformer is bound at: #%app in: (#%app call-with-values (lambda () (quote 42)) print-values)
> Seems to be endemic to:
> + unsaved source files.
> + source files with a (module+ main ...).
> + source files with rackunit tests.
> The error doesn't prevent the file from running normally.
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.