Merge ../Nim into devel; track ttables.nim delete.
This commit is contained in:
commit
45a2c1b1d1
35 changed files with 1217 additions and 1273 deletions
|
|
@ -415,7 +415,7 @@ proc `$`*[A, B](t: TableRef[A, B]): string =
|
|||
proc `==`*[A, B](s, t: TableRef[A, B]): bool =
|
||||
if isNil(s): result = isNil(t)
|
||||
elif isNil(t): result = false
|
||||
else: result = equalsImpl()
|
||||
else: equalsImpl()
|
||||
|
||||
proc newTableFrom*[A, B, C](collection: A, index: proc(x: B): C): TableRef[C, B] =
|
||||
## Index the collection with the proc provided.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue