From 6e2c2d11db1c753c7129337ac0453ee42b57ff3d Mon Sep 17 00:00:00 2001 From: shadowninja55 <49539636+shadowninja55@users.noreply.github.com> Date: Tue, 22 Dec 2020 21:23:45 -0500 Subject: [PATCH] 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 --- changelog.md | 2 ++ lib/prelude.nim | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 89d8fd4239..c2a146c01c 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/lib/prelude.nim b/lib/prelude.nim index 47a5af89e8..4d8c7d7f09 100644 --- a/lib/prelude.nim +++ b/lib/prelude.nim @@ -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