Ian Grant wrote:
It would be a good idea to do it this way if the list of substitutions
were much longer than the list where they are being made. But if the
substitution list is short then looking up a symbol is relatively cheap
compared to consing up the transformed list and reversing it, so it
On Tue, 23 Jan 2007 12:44:33 +0100
Luca Saiu <[EMAIL PROTECTED]> wrote:
> orianaparo wrote:
> > Hi. I'm a newbie and I'm trying to write some programs in Guile.
> > I'd like to know how I can perform a substitution in a list.
> > I mean:I want to write a
On Tue, 23 Jan 2007 12:20:34 +0100
"orianaparo" <[EMAIL PROTECTED]> wrote:
> Hi. I'm a newbie and I'm trying to write some programs in Guile.
> I'd like to know how I can perform a substitution in a list.
> I mean:I want to write a function that takes two
orianaparo wrote:
Hi. I'm a newbie and I'm trying to write some programs in Guile.
I'd like to know how I can perform a substitution in a list.
I mean:I want to write a function that takes two arguments: a list (possibly
nested) of symbols
> [e.g ((a (b c) d) a (f b))] and
Hi. I'm a newbie and I'm trying to write some programs in Guile.
I'd like to know how I can perform a substitution in a list.
I mean:I want to write a function that takes two arguments: a list (possibly
nested) of symbols [e.g ((a (b c) d) a (f b))] and another list that indicat