On Tue, 30 Jan 2007 15:43:31 +0100
"Mikael Djurfeldt" <[EMAIL PROTECTED]> wrote:
> This type of question usually turns up when a student wants help with
> homework and is therefore usually dismissed---in any case you wouldn't
> learn anything if you got the complete code.
As witnessed by the fact
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 function that takes two arguments: a list
>
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 arguments: a list
> (possibly nested) of s
On Mon, 22 Jan 2007 10:46:15 +0100
Andy Wingo <[EMAIL PROTECTED]> wrote:
> Have you tried generics? A couple minutes of tinkering didn't give me
> the right incantation, but it should be something like:
>
> (use-modules (oop goops))
> (define apply (ensure-generic apply))
> (define-method (apply
Dear, happy guile-users
The scmutils package for SICM allows one to do things like apply arguments to
a vector which evaluates to a vector of results of applying the arguments to
each element in turn. It achieves this in MIT-scheme using this
kludgey-looking method. Here g:apply does the actual