xreduce('append, ...) will take [[a...],[b...]...] to [a...,b...,...].
You might also want to try the powerset function:
powerset({1,2,3,4,5},3) =>
{{1,2,3},{1,2,4},{1,2,5},{1,3,4},{1,3,5},{1,4,5},{2,3,4},{2,3,5},{2,4,5},{3,4,5}}
-s
On Wed, Mar 20, 2013 at 7:49 AM, Alessandro Campagni <
alessandro.campagni at gmail.com> wrote:
> Still wondering whether it is possible to achieve this results just
> map-ing append-ing and makelist-ing :D