[plt-scheme] parameterize modules

From: Noel Welsh (noelwelsh at yahoo.com)
Date: Tue Oct 3 03:21:31 EDT 2006

I think you want units:


The syntax is a PITA, but once you get used to it, it works
well (modulo hygienic macros -- anyone feel like answering
our question about this?)  Scott Owens is apparently
working on new syntax, so apply (gentle) pressure on him to
speed its completion :)


--- Jon Rafkind <workmin at ccs.neu.edu> wrote:

> Is there a way to make a module parameterized so that I
> can load it
> twice in different contexts? What Id like to achieve is
> require'ing the
> same module but load a different C library with FFI
> depending on the
> parameter.
> (require (prefix new- "mymodule.ss") (parameter
> "newlib"))
> (require (prefix old- "mymodule.ss") (parameter
> "oldlib"))
> Or something like that.
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Email: noelwelsh <at> yahoo <dot> com   noel <at> untyped <dot> com
AIM: noelhwelsh
Blogs: http://monospaced.blogspot.com/  http://www.untyped.com/untyping/

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

Posted on the users mailing list.