[plt-scheme] Units implementation: to access imports by indexes

From: Noel Welsh (noelwelsh at gmail.com)
Date: Wed May 13 09:10:19 EDT 2009

On Wed, May 13, 2009 at 1:52 PM, Keiko Nakata
<keiko at kurims.kyoto-u.ac.jp> wrote:
> Hello,
>
> Would it have been possible to compile units into e.g. vectors
> and to access imports by indexes? In particular, having local aliases
> for imports is indispensable?

You can rename imports in a unit. Does that do what you want?

E.g.

 (import (rename foo^ [bar baz]))

Renames bar to baz.

N.


Posted on the users mailing list.