Jarkko Hietaniemi wrote:

> > $item:n would be the position $item had in the last container it was in
> 
> $item:i, you surely meant?  $item:n would be the size of the list...

The size of the list would be something like $#{$item:contained_in}
the size of the list is not a property of the item, some indirection
resolution would be required.

I think :n because that allows lazy lists to be functions of integers,
which were always I<f(n)> in algebra class.

You could access n directly within a HOF lazy list with ${ME:n}.


Shifts would increment such a list's $WE[0]:n value, until it is reset.


(addendum to the $ME idea --- containers are refered to inside themselves
as [@%]WE -- thoughts?)

Reply via email to