[racket] Module runs fine, but won't scribble
Have you tried
#lang scribble/manual
@(require (except-in (for-label racket/base) time))
Sorry for your lost sleep. -- Matthias
On Jan 11, 2012, at 4:47 PM, Erik Dominikus wrote:
> I need to define 'time', but it is already defined in scheme/base. My
> module runs just fine. The problem is when I want to generate
> documentation, scribble refuses to cooperate (in label phase level),
> with 'module: identifier already imported for label' as the reason
> (details at the end of this text).
>
> My question is: "How do I scribble it without choosing another name?"
>
> Your help will be much appreciated; I lost sleep over this.
>
>
> Thanks.
>
>
>
> erik at kire:~/scheme/doc$
> PLTCOLLECTS=:~/scheme /kage/racket-5.2/bin/scribble --htmls guide.scrbl
> /home/erik/scheme/absinthe/signal.rkt:9:2: module: identifier already
> imported for label from: racket/base at: time in: absinthe/time
>
> === context ===
> standard-module-name-resolver
> /kage/racket-5.2/collects/racket/require-transform.rkt:76:2:
> expand-import
> /kage/racket-5.2/collects/racket/private/reqprov.rkt:351:5
> /kage/racket-5.2/collects/racket/require-transform.rkt:76:2:
> expand-import
> try-next
> /kage/racket-5.2/collects/racket/private/reqprov.rkt:222:2
> /kage/racket-5.2/collects/racket/private/modbeg.rkt:46:4
> standard-module-name-resolver
> /kage/racket-5.2/collects/racket/private/map.rkt:18:11: map
> /kage/racket-5.2/collects/scribble/run.rkt: [running body]
>
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users