[plt-scheme] Current library collection paths and Check Syntax

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu Apr 19 12:07:08 EDT 2007

I haven't been able to make drscheme choke on this program. I get the
same error you do, but I get the error message clearly labelled as a
bug in the program, not an internal drscheme error. Was there maybe
something I'm missing in the example?

Thanks,
Robby

On 4/18/07, jos koot <jos.koot at telefonica.net> wrote:
>
>
> Hi,
> Consider:
>
> Definitions window:
> (module runs-well-but-does-not-pass-syntax-check mzscheme
>  (begin-for-syntax
>   (current-library-collection-paths
>    (cons
>     "c:/scheme/kcollects"
>     (current-library-collection-paths))))
>  (require (lib "for.ss" "for")) ; from c:/scheme/kcollects/for/for.ss
>  (for ((i 1 3)) (printf "~s~n" i)))
>
> This works fine when pressing the run button, but Check Syntax can't process
> the require form. Check Syntax results in:
>
> DrScheme internal error
> standard-module-name-resolver: collection not found: "for" in any of:
> (#<path:C:\Documents and Settings\HP_Eigenaar\Application
> Data\PLT Scheme\369.9\collects> #<path:C:\Program
> Files\PLT-FULL-369.9\collects>)
>
> The definitions window is blanked out. The only possible way to proceed is
> to close all DrScheme windows.
>
> May be I am doing a nasty thing, but having a program that runs well but
> does not pass Check Syntax is somewhat confusing. I did this with DrScheme,
> version 369.9-svn14apr2007 [3m]. Language: (module ...)
>
> Be assured that I like PLT very much, Jos Koot
>
> (((((lambda(x)((((((((x x)x)x)x)x)x)x)x))
>     (lambda(x)(lambda(y)(x(x y)))))
>    (lambda(x)(x)x))
>   (lambda()(printf "Greetings, Jos~n"))))
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>


Posted on the users mailing list.