[racket] Scribble duplicate literals

From: Ryan Culpepper (ryanc at ccs.neu.edu)
Date: Fri Jan 14 13:31:28 EST 2011

David Van Horn wrote:
> I have basically the same problem that 2htdp/universe has -- I need to 
> document two forms (from the same module) that have overlapping literals 
> in their subforms.  For example, big-bang and universe both use on-tick.
> 
> The problem (beside warnings about duplicate keys when running scribble) 
> is that if you go the universe documentation:
> 
> http://docs.racket-lang.org/teachpack/2htdpuniverse.html#%28form._%28%28lib._2htdp/universe..rkt%29._universe%29%29 
> 
> 
> and click on the on-tick subform, you're taken the big-bang on-tick 
> documentation rather than the universe on-tick.
> 
> Is there a way to work around this?

I had a similar problem with some of the syntax-parse pattern forms. You 
can see my solution here (the table and the disambiguation entries 
following it):

http://docs.racket-lang.org/syntax/stxparse-patterns.html

Ryan



Posted on the users mailing list.