-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I've got
==
(define append_map
(lambda (f l)
(if (null? l) '() (append (f (car l)) (append_map f (cdr l))))))
==
which is equivalent to
==
(define append_map
(lambda (f l) (apply append (map f l))))
==
I now want to generalize this to an arbitrary number of arguments. I
know this can be done using (lambda v) at the place of (lambda (v))
(this is called `generalized lambda form'). How could I use this in
this context (e.g. one function f and an arbitrary number of lists)?
Thanks.
- --
Merciadri Luca
See
http://www.student.montefiore.ulg.ac.be/~merciadri/
- --
If all else fails, try the obvious.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <
http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAk9+4mUACgkQM0LLzLt8MhyxxACeLPaA0D9BeK/a561C+fYEX3jq
Qa4Anj45JWhw0iIlCdvhfIYLeql1gchD
=BPyS
-----END PGP SIGNATURE-----