Boo

Implement 'complex slicing' on any enumerable

Details

  • Type: New Feature New Feature
  • Status: In Progress In Progress
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 0.8.2
  • Fix Version/s: 0.9.5
  • Component/s: Command line tools
  • Labels:
    None
  • Number of attachments :
    0

Description

Currently using complex slicing on a generic collection (or actually any type which is not a builtin nor string), gives an error :

>>>import System.Collections.Generic
>>>l = List[of int]()               
>>>l.Add(4)
>>>l.Add(8)
>>>l.Add(15)
>>>l.Add(16)
>>>l.Add(23)
>>>l.Add(42)
>>>l[2:3]
-----^
ERROR: Language feature still not implemented: 'complex slicing for anything but lists, arrays and strings'.

Should return instead an int* with the items in the range 2:3

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: