Skip to content

Commit

Permalink
add sequtils to prelude (nim-lang#16431)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
shadowninja55 authored and ardek66 committed Mar 26, 2021
1 parent c3c5e38 commit aa74073
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions lib/prelude.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit aa74073

Please sign in to comment.