JuliaCollections/DataStructures.jl

Add features to LinkedList

Ouverte

#443 ouverte le 24 août 2018

 (8 commentaires) (0 réaction) (0 personne assignée)Julia (261 forks)batch import
enhancementgood first issue

Métriques du dépôt

Stars
 (745 étoiles)
Métriques de merge PR
 (Merge moyen 1j 18h) (3 PRs mergées en 30 j)

Description

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?)

Guide contributeur