Is there a List datatype for Parrot? I'm looking for something along the lines 
of what's in Python. Specifically, it should be able to do the following 
operations:

  - Append/Prepend elements
  - Insert element(s) at position
  - Remove element(s) at position
  - Return slice

Like a PerlArray, a List can hold any sort of item (including other lists). 
Elements are referenced only by position, not by a key.

I can emulate the behavior with a PerlArray, but it's a bit expensive.

Thanks.

-- David Cuny

Reply via email to