mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 13:07:48 +00:00
add sequtils to prelude (#16431)
* add sequtils to prelude i would argue that sequtils is used just as often as the other imports in prelude, and it'd be nice for it to be included. * updated doc comment to add sequtils * added sequtils import to changelog
This commit is contained in:
@@ -70,6 +70,8 @@
|
||||
and `lists.toDoublyLinkedList` convert from `openArray`s; `lists.copy` implements
|
||||
shallow copying; `lists.add` concatenates two lists - an O(1) variation that consumes
|
||||
its argument, `addMoved`, is also supplied.
|
||||
|
||||
- Added `sequtils` import to `prelude`.
|
||||
|
||||
## Language changes
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
## Same as:
|
||||
##
|
||||
## .. code-block:: nim
|
||||
## import os, strutils, times, parseutils, hashes, tables, sets
|
||||
## import os, strutils, times, parseutils, hashes, tables, sets, sequtils
|
||||
## when not defined(js): import parseopt
|
||||
|
||||
import os, strutils, times, parseutils, hashes, tables, sets
|
||||
import os, strutils, times, parseutils, hashes, tables, sets, sequtils
|
||||
when not defined(js): import parseopt
|
||||
|
||||
Reference in New Issue
Block a user