[aplusdev] Mapped files
Martin Sitte
sitte at erols.com
Wed Aug 29 14:14:23 EDT 2001
Alexei,
John & Jon have given you the usual and sound A+ solution; it should
work. Alternatively, with regularly structured data, you could treat
each of the components as a separate variable:
1 'Lesha' 10 'Mandrake'
2 'Sasha' 15 'SuSE'
3 'Dima' 5 'RedHat'
v1 :1 2 3
v2: ("Lesha";"Sasha";"Dima") or "\Lesha\Sasha\Dima"
(still need sys.exp & imp for the former)
etc.
These can then be mapped individually, filters can be built from
booleans, etc., with the added bonus that the whole may run more
efficiently than with a nested construct (in all APL-type languages
nesting has a non-negligible (though not necessarily burdensome)
overhead.
More information about the apluslist
mailing list