JuliaCollections/DataStructures.jl

Add features to LinkedList

Open

#443 创建于 2018年8月24日

在 GitHub 查看
 (8 评论) (0 反应) (0 负责人)Julia (261 fork)batch import
enhancementgood first issue

仓库指标

Star
 (738 star)
PR 合并指标
 (平均合并 9天 21小时) (30 天内合并 5 个 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?)

贡献者指南