Files
Nim/lib/pure
Peter Salvi 051477b314 O(1) concatenation of singly- and doubly linked lists. (#16362)
* O(1) concatenation of singly- and doubly linked lists.

There is also new `toSinglyLinkedList` and `toDoublyLinkedList`
functions for conversion from `openArray`s, similarly
to `toHashSet` or `toTable`.

* Add `sequtils` import to runnable examples with `toSeq`.

* Added missing call to runnable examples.

* Add .since annotation, changelog, and tests.

* Rename `lists.concat` as an overload to `lists.append`.

* Renamed `append` to `add` in lists.

* Remove faulty `add` for `DoublyLinkedList`s.

* Improved tests for lists.

* `lists.add` moves the second list; added `lists.copy` for shallow copy.

* More tests for `lists.add` and `lists.copy`.

* More compact tests for lists with templates.

* List concatenation with copying (`add`) and moving (tentatively `addMove`)

* Renamed `addMove` to `addMoved`; renamed arguments according to the style guide.

* Added extended example to `lists.copy`.

* Corrected .since annotations to 1.6

* Add .since annotation, changelog, and tests.

* Rename `lists.concat` as an overload to `lists.append`.

* Renamed `append` to `add` in lists.

* Remove faulty `add` for `DoublyLinkedList`s.

* `lists.add` moves the second list; added `lists.copy` for shallow copy.

* More tests for `lists.add` and `lists.copy`.

* List concatenation with copying (`add`) and moving (tentatively `addMove`)

* Renamed `addMove` to `addMoved`; renamed arguments according to the style guide.

* Since declarations changed to (1,5,1).

* Add .since annotation, changelog, and tests.

* Rename `lists.concat` as an overload to `lists.append`.

* Renamed `append` to `add` in lists.

* Remove faulty `add` for `DoublyLinkedList`s.

* `lists.add` moves the second list; added `lists.copy` for shallow copy.

* More tests for `lists.add` and `lists.copy`.

* List concatenation with copying (`add`) and moving (tentatively `addMove`)

* Renamed `addMove` to `addMoved`; renamed arguments according to the style guide.

* Changelog update.

* Fix rebasing errors.

* Self-adding with `lists.addMove` results in a cycle now.
Added some extra tests.
2020-12-20 13:09:35 +01:00
..
2020-12-17 13:35:02 +01:00
2020-08-08 07:24:54 +02:00
2020-11-24 19:06:41 +01:00
2015-10-01 12:05:45 -07:00
2020-05-05 10:34:37 +02:00
2020-10-04 10:58:19 +02:00
2020-08-11 14:49:57 +02:00
2020-11-24 19:06:41 +01:00
2018-04-06 11:59:49 +02:00
2020-11-24 19:06:41 +01:00
2020-11-16 10:15:05 -08:00
2020-11-24 19:06:41 +01:00
2020-12-14 20:13:12 +01:00
2020-12-11 11:01:43 +01:00
2020-11-24 19:06:41 +01:00
2020-06-23 15:17:17 +02:00
2020-03-31 15:47:57 +02:00
2020-09-09 12:47:22 +02:00
2020-12-14 20:13:12 +01:00
2019-09-30 13:58:10 +02:00
2020-11-24 19:06:41 +01:00
2020-03-19 10:23:05 +01:00
2020-12-17 13:41:05 +01:00
2020-11-24 19:06:41 +01:00
2020-12-17 13:41:05 +01:00
2020-07-15 03:46:17 -04:00
2020-12-17 13:41:05 +01:00
2020-12-17 13:41:05 +01:00
2020-11-24 19:06:41 +01:00
2020-12-14 20:13:12 +01:00
2020-11-10 13:15:16 +01:00
2020-12-14 20:13:12 +01:00
2020-11-24 19:06:41 +01:00
2020-07-18 10:41:33 +02:00
2020-11-24 19:06:41 +01:00
2020-11-24 19:06:41 +01:00
2020-12-12 23:29:20 +01:00
2020-11-24 19:06:41 +01:00
2020-11-10 21:53:25 +01:00
2020-12-14 20:13:12 +01:00
2020-11-23 19:53:57 +01:00