moved random procs from math to its own module (breaking change)
This commit is contained in:
parent
5575cfd3ec
commit
95bb19a579
12 changed files with 43 additions and 122 deletions
|
|
@ -310,7 +310,7 @@ macro expect*(exceptions: varargs[expr], body: stmt): stmt {.immediate.} =
|
|||
##
|
||||
## .. code-block:: nim
|
||||
##
|
||||
## import math
|
||||
## import math, random
|
||||
## proc defectiveRobot() =
|
||||
## randomize()
|
||||
## case random(1..4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue