[gambit-list] As far as the renaming scheme goes, ...

Abdulaziz Ghuloum aghuloum at cs.indiana.edu
Wed Mar 19 17:05:37 EDT 2008


On Mar 19, 2008, at 3:10 PM, Bradley Lucier wrote:

> (define foo 'wait)
>
> (letrec ((bar values))
>   (set! foo bar))

I want to add that I know nothing about what (block) entails in  
gambit or what forms gambit recognizes as good code.
The system is flexible enough though.  You can easily arrange for the  
generated code to look like:

(define local* expr*) ...
(define global* local*) ...
expr* ...

instead of:

(define global* 'wait) ...
(letrec* ([local* expr*] ...)
   (set! global* local*) ...
   expr* ...)

if that yields better results.



More information about the Gambit-list mailing list