One way to disambiguate would be to give the module name a single fixed position in all import statements (requiring a separate import clause for each module): (import <module-name> <import-modifier>*)
Yes. Much better.
and the modifiers are applied in the order they appear. So the
example from the draft:
(import (only "stack" make push! pop!)
(add-prefix "balloons" balloon:))
(import (add-prefix (rename (only "stack" make push! pop!)
(make create))
stack:))
becomes (modulo any changes to the module naming convention)
(import "stack" (only make push! pop!))
(import "balloons" (add-prefix balloon:))
(import "stack" (only make push! pop!)
(rename (make create))
(add-prefix stack:))
Look at how much easier that is to read! That is much more natural for
the common case.
-- Cheers, Ray Blaak blaak@xxxxxxxxxxxx