minor improvement for nim pretty

This commit is contained in:
Araq 2014-08-31 02:46:13 +02:00
commit 8925d0e103
4 changed files with 13 additions and 5 deletions

View file

@ -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