[plt-scheme] Bug or misuse?
In any case, you might want the function `module-path-index-resolve'
from `scheme/base'.
(Why doesn't the documentation for `resolve-module-path-index'
encourage the use of `module-path-index-resolve'? I'm sure I've asked
myself that before.)
At Wed, 15 Jul 2009 09:49:10 -0500, Robby Findler wrote:
> It may be both, but there is definitely a bug in modresolve.ss or in
> its contract.
>
> Robby
>
> On Wed, Jul 15, 2009 at 9:44 AM, Jens Axel Søgaard<jensaxel at soegaard.net> wrote:
> > Is this a bug or am I misusing resolve-module-path-index ?
> >
> > (Note: "stx" is the what I passed as the second argument (rel-to-path-v).
> >
> > Error message:
> >
> > (file "/Applications/PLT Scheme Full
> > v4.2.0.6/collects/syntax/modresolve.ss") broke the contract
> > (->
> > (or/c symbol? module-path-index?)
> > (or/c (-> path-string?) path-string? #f)
> > (or/c path? symbol?))
> > on resolve-module-path-index; expected <(or/c path? symbol?)>, given: "stx"
> >
> > --
> > Jens Axel Søgaard
> > _________________________________________________
> > For list-related administrative tasks:
> > http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme