Re: [stack] sweetening concatenative syntax
Manfred Von Thun <[email protected]>
| Newsgroups | gmane.comp.lang.concatenative |
|---|---|
| Message-ID | <C4071459.F8F%[email protected]> |
On 7/3/08 9:00 AM, "Stevan Apter" <[email protected]> wrote: > ack. it's been so long since i looked at this stuff that i'd > forgotten that 'map' in f/g and XY is an extension of the standard > definition: given a list of k-length lists, it applies a n-ary > function n>=k to each element of the list. so e.g. > > [[1 2][3 4][5 6]][+]map -> [3 7 11] > Isn¹t what you want just [[1 2] [3 4] [5 6] [sum] map => [3 7 11] where it is not even required that the sublists are of the same length. Or did I miss something? > - Manfred [Non-text portions of this message have been removed]