On Sun, 13 Sep 2009, John Cowan wrote: > Andre van Tonder scripsit: > >> Are you aware of any advantages in expressiveness of the two-pass >> that cannot be reproduced by rearrangement? I vaguely remember >> that there may have been an example posted once to this list during >> R6RS, but I cannot remember it. > > Furthermore, it allows me to initialize a global data structure near > the code that manipulates it: > > (define (make-foo ...) ...) > (define (foo add foo ...) ...) > ;; define other foo stuff > (define the-master-foo (make-foo ...)) > (foo-add the-master-foo 1 2 3) > (foo-add the-master-foo 4 5 6) > ;; ...
Maybe I'm missing something, but I don't see anything here that would differ between 1-pass and 2-pass expansion. Andre _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
