Hi all,

Consider the following code :

guile> (define x '( (1 1) (2 2) (3 3) ))
guile> (apply (lambda (a b c) (map list a b c) x)
((1 2 3) (1 2 3))

I can't figure out a concise an elegant way to achieve the same result
using a lambda form that will work whatever the length of x. Any
suggestion ?

Thanks,
Aurelien


_______________________________________________
Guile-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-user
  • apply Aurelien Chanudet

Reply via email to