Files
Nim/tests/stdlib
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-04-28 19:56:01 +02:00
2020-10-29 18:12:14 +01:00
2020-10-30 09:55:21 +01:00
2020-09-21 12:21:05 +02:00
2020-11-13 16:15:13 +08:00
2020-07-29 16:18:27 +02:00
2020-11-05 14:00:49 +01:00
2020-11-04 01:24:40 -05:00
2020-03-23 15:47:10 +01:00
2020-11-24 19:06:41 +01:00
2020-04-03 09:03:13 +02:00
2020-11-24 19:06:41 +01:00
2020-11-24 19:06:41 +01:00
2020-10-29 17:32:56 +01:00
2020-11-10 21:53:25 +01:00
2020-12-11 11:01:43 +01:00
2020-11-24 19:06:41 +01:00
2018-11-23 11:58:31 +01:00
2020-11-23 19:53:57 +01:00
2020-11-24 19:06:41 +01:00
2019-05-16 21:06:04 +02:00
2020-07-18 10:41:33 +02:00
2020-12-06 09:50:46 +01:00
2020-11-24 19:06:41 +01:00
2017-05-04 22:25:29 +02:00
2018-11-23 11:58:29 +01:00
2020-11-24 19:06:41 +01:00
2020-12-10 07:58:42 +01:00
2020-10-18 12:57:13 -04:00
2020-12-19 10:33:10 +01:00
2020-11-24 19:06:41 +01:00
2020-11-13 08:11:00 +01:00
2018-12-11 21:23:21 +01:00
2020-11-24 19:06:41 +01:00
2020-11-24 19:06:41 +01:00
2020-11-24 19:06:41 +01:00
2020-11-24 19:06:41 +01:00
2020-07-12 03:31:03 -04:00
2020-12-18 16:29:36 +01:00
2020-11-24 19:06:41 +01:00
2020-11-24 19:06:41 +01:00
2020-10-18 12:57:13 -04:00
2018-04-30 11:16:56 +02:00