* fix bug1 from #16238 nim doc now works with include prelude * fix for windows * fixup
This commit is contained in:
parent
f07a072691
commit
ef5303114c
3 changed files with 16 additions and 42 deletions
|
|
@ -1,29 +0,0 @@
|
|||
Prelude
|
||||
=======
|
||||
|
||||
This is an include file that simply imports common modules for your convenience:
|
||||
|
||||
.. code-block:: nim
|
||||
include std/prelude
|
||||
|
||||
Same as:
|
||||
|
||||
.. code-block:: nim
|
||||
import std/[os, strutils, times, parseutils, hashes, tables, sets, sequtils, parseopt]
|
||||
|
||||
|
||||
Examples
|
||||
========
|
||||
|
||||
Get the basic most common imports ready to start coding using ``prelude``:
|
||||
|
||||
.. code-block:: nim
|
||||
include std/prelude
|
||||
|
||||
echo now()
|
||||
echo getCurrentDir()
|
||||
echo "Hello $1".format("World")
|
||||
|
||||
|
||||
See also:
|
||||
- `Sugar <sugar.html>`_
|
||||
Loading…
Add table
Add a link
Reference in a new issue