[plt-scheme] finding module path in collection

From: Eli Barzilay (eli at barzilay.org)
Date: Wed Jun 15 10:48:37 EDT 2005

On Jun 15, Arend P. van der Veen wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> I am trying to find the path of a module in a collection as follows:
> #Welcome to MzScheme version 299.101, Copyright (c) 2004-2005 PLT 
> Scheme, Inc.
>  > ((current-module-name-resolver) (lib "utilities.ss" "srs"))
> reference to undefined identifier: lib
> What am I doing wrong?

1. The module specification should be quoted.

2. The module resolver expects three arguments.

3. It is probably not doing what you want it to do (see the docs).

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.