move prelude so that include std/prelude also works (#17110)
* move prelude so that `include std/prelude` also works * add test
This commit is contained in:
parent
bd199a8d31
commit
e94a3e5fcd
7 changed files with 28 additions and 11 deletions
|
|
@ -1,21 +0,0 @@
|
|||
#
|
||||
#
|
||||
# Nim's Runtime Library
|
||||
# (c) Copyright 2012 Andreas Rumpf
|
||||
#
|
||||
# See the file "copying.txt", included in this
|
||||
# distribution, for details about the copyright.
|
||||
#
|
||||
|
||||
## This is an include file that simply imports common modules for your
|
||||
## convenience:
|
||||
##
|
||||
## .. code-block:: nim
|
||||
## include prelude
|
||||
##
|
||||
## Same as:
|
||||
##
|
||||
## .. code-block:: nim
|
||||
## import os, strutils, times, parseutils, hashes, tables, sets, sequtils, parseopt
|
||||
|
||||
import os, strutils, times, parseutils, hashes, tables, sets, sequtils, parseopt
|
||||
Loading…
Add table
Add a link
Reference in a new issue