diff options
author | Araq <rumpf_a@web.de> | 2014-08-31 02:46:13 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-31 02:46:13 +0200 |
commit | 8925d0e10335c8ae7671b7fb19f25a6f0a1802d3 (patch) | |
tree | 7baeefdabf7c3bdcceaa572a4127b6cdd8fc538f /lib | |
parent | 31db3aeadefb73831b4fa27b1a1118acd5aa6134 (diff) | |
download | Nim-8925d0e10335c8ae7671b7fb19f25a6f0a1802d3.tar.gz |
minor improvement for nim pretty
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim index 2ad5e6af9..0c483f4a9 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -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 |