Adding a LinkedList type to the Standard Library

This was well covered, two posts above yours and a few years ago.

9 Likes

Nobody ask you to reinvent the wheel, just to import an official swift package.

3 Likes

Yeah that is exactly what I am trying to avoid, having a dependency for every little thing that should be in there by default. What's next, should we remove the modulo function from Swift and add a package for isEven/isOdd like NodeJS?

Linked lists have astoundingly limited utility on modern systems, and most useful implementations are "embedded" linked lists, which by-definition can't be provided as standalone types by the standard library.

9 Likes
7 Likes