[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
apply
From: |
Aurelien Chanudet |
Subject: |
apply |
Date: |
Wed, 3 Aug 2005 10:38:41 +0200 |
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
- apply,
Aurelien Chanudet <=