minor improvement for nim pretty
This commit is contained in:
parent
31db3aeade
commit
8925d0e103
4 changed files with 13 additions and 5 deletions
|
|
@ -192,6 +192,7 @@ proc high*[T](x: T): T {.magic: "High", noSideEffect.}
|
|||
## returns the highest possible index of an array, a sequence, a string or
|
||||
## the highest possible value of an ordinal value `x`. As a special
|
||||
## semantic rule, `x` may also be a type identifier.
|
||||
## ``high(int)`` is Nim's way of writing `INT_MAX`:idx: or `MAX_INT`:idx:.
|
||||
|
||||
proc low*[T](x: T): T {.magic: "Low", noSideEffect.}
|
||||
## returns the lowest possible index of an array, a sequence, a string or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue