mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
complete std prefixes for stdlib (#22887)
follow up https://github.com/nim-lang/Nim/pull/22851 follow up https://github.com/nim-lang/Nim/pull/22873
This commit is contained in:
@@ -16,7 +16,7 @@ runnableExamples:
|
||||
assert 0.0.toJson.kind == JFloat
|
||||
assert Inf.toJson.kind == JString
|
||||
|
||||
import json, strutils, tables, sets, strtabs, options, strformat
|
||||
import std/[json, strutils, tables, sets, strtabs, options, strformat]
|
||||
|
||||
#[
|
||||
Future directions:
|
||||
@@ -30,9 +30,9 @@ add a way to customize serialization, for e.g.:
|
||||
objects.
|
||||
]#
|
||||
|
||||
import macros
|
||||
from enumutils import symbolName
|
||||
from typetraits import OrdinalEnum, tupleLen
|
||||
import std/macros
|
||||
from std/enumutils import symbolName
|
||||
from std/typetraits import OrdinalEnum, tupleLen
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/assertions
|
||||
|
||||
Reference in New Issue
Block a user