[racket] Module runs fine, but won't scribble

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Jan 12 13:57:49 EST 2012

At Thu, 12 Jan 2012 23:56:18 +0700, Erik Dominikus wrote:
> I think the problem is "Scribble In-source Documentation fails if the
> documented module shadows a symbol from its #lang". (Did I say it
> correctly?)

Unfortunately, while an improved `scribble/srcdoc' is on the drawing
board, but I don't see a nice way around this problem at the moment.

You could make a language "rb-no-time.rkt" that has everything from
`racket/base' except `time':
 #lang racket/base
 (provide (except-out (all-from-out racket/base) time))

and use that in "a.rkt":

  #lang at-exp s-exp "rb-no-time.rkt"

Posted on the users mailing list.