helpers2 now has a real name
This commit is contained in:
parent
6f412fc6cb
commit
d5da450100
4 changed files with 3 additions and 3 deletions
7
lib/system/indexerrors.nim
Normal file
7
lib/system/indexerrors.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# imported by other modules, unlike helpers.nim which is included
|
||||
|
||||
template formatErrorIndexBound*[T](i, a, b: T): string =
|
||||
"index out of bounds: (a: " & $a & ") <= (i: " & $i & ") <= (b: " & $b & ") "
|
||||
|
||||
template formatErrorIndexBound*[T](i, n: T): string =
|
||||
"index out of bounds: (i: " & $i & ") <= (n: " & $n & ") "
|
||||
Loading…
Add table
Add a link
Reference in a new issue