JuliaCollections/DataStructures.jl

Add features to LinkedList

オープン

#443 opened on 2018/08/24

 (8 件のコメント) (0 件のリアクション) (0 人の担当者)Julia (261 件のフォーク)batch import
enhancementgood first issue

Repository metrics

Stars
 (745 個のスター)
PR merge metrics
 (平均マージ 1d 18h) (30d で 3 merged PRs)

説明

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

コントリビューターガイド