This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Internal defines
- To: Lauri Alanko <la at iki dot fi>
- Subject: Re: Internal defines
- From: Marius Vollmer <mvo at zagadka dot ping dot de>
- Date: 05 Oct 1999 21:11:18 +0200
- Cc: guile at sourceware dot cygnus dot com
- References: <19991005022452.A1102@iki.fi>
Lauri Alanko <la@iki.fi> writes:
> I just wouldn't much like an extra level of indentation.. is there
> any way to implement some kind of a define* macro that would
> transform the body of a lambda into a let* expression? Or what would
> be the best way to get what I want?
My preferred way would be to rewrite internal defines into a letrec*
where letrec* is the same as letrec but with the sequential
initialisation semantics of let*.
But this woul require changes to Guile itself and so is probably of no
help to you right now.
What do others think? Would such a change be welcome?