JuliaCollections/DataStructures.jl

Add features to LinkedList

開放

#443 建立於 2018年8月24日

 (8 則留言) (0 個反應) (0 位負責人)Julia (261 個分叉)batch import
enhancementgood first issue

倉庫指標

星標
 (745 顆星)
PR 合併指標
 (平均合併 1天 18小時) (30 天內合併 3 個 PR)

描述

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

貢獻者指南