That's fairly trivial and can be done using map. I don't want to spoil you a joy of discovery, so not giving the answer.
In reply to Re: adding items, but with interim results
by zwon
in thread adding items, but with interim results
by kontrapunktstefan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |