Wiki

Ticket #104 (closed enhancement: fixed)

Opened 16 years ago

Last modified 16 years ago

Implement List .sorted, .reversed, .at, et al

Reported by: Chuck Owned by: Chuck
Priority: medium Milestone: Cobra 0.9
Component: Cobra Compiler Version: 0.8.0
Keywords: library, extensions Cc:

Description

These were discussed (and some even implemented) in a forum discussion or two. Don't have the links handy.

Depends on ticket:1 being completed.

May .at should be .get which could also be a dictionary method (offering a default arg when the key/index cannot be found).

Change History

Changed 16 years ago by Chuck

I'm part way through this.

Changed 16 years ago by Chuck

  • status changed from new to closed
  • resolution set to fixed

This is done for List. It might be interesting to also have a .toDictionary method, but this isn't required for 0.9 so I broke that out to ticket:150.

Note: See TracTickets for help on using tickets.