JuliaCollections/DataStructures.jl

Add features to LinkedList

Open

#443 aperta il 24 ago 2018

Vedi su GitHub
 (8 commenti) (0 reazioni) (0 assegnatari)Julia (261 fork)batch import
enhancementgood first issue

Metriche repository

Star
 (738 star)
Metriche merge PR
 (Merge medio 9g 21h) (5 PR mergiate in 30 g)

Descrizione

When looking at #442 I noticed just how featureless our LinkedList is. In particular, as pointed out by #442 we have no mutating operations.

I think adding some of the missing methods would be great for someone new to julia. Since implementing a linked list is like DataStructures101.

Here is a list of functions I think should be implemented. Feel free to suggest more.

  • getindex
  • setindex!
  • delete! with overloads both for single indexes and for ranges.
  • append!
  • The iterator traits (or are the defaults right?)

Guida contributor