[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] 5.5.1 module syntax



On Thu 19 May 2011 20:19, John Cowan <cowan@x> writes:

>> In what order are the requisite modules loaded (via `import')?
>
> The implementation can do what it likes.  IMAO, users who rely on the
> order of module loading deserve to lose.  Specifically, the side effects
> (if any) of a module should not interact with those of other modules,
> except in trivial ways like yammering to standard output.

What about:

  (module (foo)
    (import (only (bar) baz))
    (begin
     (define qux baz)))

Is this equivalent to:

  (module (foo)
    (begin
     (define qux baz))
    (import (only (bar) baz)))

?

Andy
-- 
http://wingolog.org/

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports