diff options
author | Araq <rumpf_a@web.de> | 2011-07-10 15:48:13 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-07-10 15:48:13 +0200 |
commit | 5b96eaa9533e877b5b7f2c6bf1e291ccdfdfecef (patch) | |
tree | f58b139b00b6af984f716164c7a3d72761df514d /lib/pure/collections | |
parent | 2565ff8ddec9fcf43fbda2fae6f04806c1bc6e8a (diff) | |
download | Nim-5b96eaa9533e877b5b7f2c6bf1e291ccdfdfecef.tar.gz |
preparations for 0.8.12
Diffstat (limited to 'lib/pure/collections')
-rwxr-xr-x[-rw-r--r--] | lib/pure/collections/intsets.nim | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | lib/pure/collections/queues.nim | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | lib/pure/collections/sets.nim | 6 | ||||
-rwxr-xr-x[-rw-r--r--] | lib/pure/collections/tables.nim | 8 |
4 files changed, 9 insertions, 9 deletions
diff --git a/lib/pure/collections/intsets.nim b/lib/pure/collections/intsets.nim index bbe6a674b..3fd81acf6 100644..100755 --- a/lib/pure/collections/intsets.nim +++ b/lib/pure/collections/intsets.nim @@ -9,8 +9,8 @@ ## The ``intsets`` module implements an efficient int set implemented as a ## sparse bit set. -## **Note**: Since Nimrod does not allow the assignment operator to be -## overloaded, ``=`` for int sets performs some rather meaningless shallow +## **Note**: Since Nimrod currently does not allow the assignment operator to +## be overloaded, ``=`` for int sets performs some rather meaningless shallow ## copy. import diff --git a/lib/pure/collections/queues.nim b/lib/pure/collections/queues.nim index 2130d9949..2130d9949 100644..100755 --- a/lib/pure/collections/queues.nim +++ b/lib/pure/collections/queues.nim diff --git a/lib/pure/collections/sets.nim b/lib/pure/collections/sets.nim index a577964c9..00056ff14 100644..100755 --- a/lib/pure/collections/sets.nim +++ b/lib/pure/collections/sets.nim @@ -9,9 +9,9 @@ ## The ``sets`` module implements an efficient hash set and ordered hash set. ## -## Note: The data types declared here have *value semantics*: This means that -## ``=`` performs a copy of the hash table. If you are overly concerned with -## efficiency and know what you do (!), you can define the symbol +## **Note**: The data types declared here have *value semantics*: This means +## that ``=`` performs a copy of the hash table. If you are overly concerned +## with efficiency and know what you do (!), you can define the symbol ## ``shallowADT`` to compile a version that uses shallow copies instead. import diff --git a/lib/pure/collections/tables.nim b/lib/pure/collections/tables.nim index d353db3fb..6fe77b26f 100644..100755 --- a/lib/pure/collections/tables.nim +++ b/lib/pure/collections/tables.nim @@ -10,9 +10,9 @@ ## The ``tables`` module implements an efficient hash table that is ## a mapping from keys to values. ## -## Note: The data types declared here have *value semantics*: This means that -## ``=`` performs a copy of the hash table. If you are overly concerned with -## efficiency and know what you do (!), you can define the symbol +## **Note:** The data types declared here have *value semantics*: This means +## that ``=`` performs a copy of the hash table. If you are overly concerned +## with efficiency and know what you do (!), you can define the symbol ## ``shallowADT`` to compile a version that uses shallow copies instead. import @@ -27,7 +27,7 @@ type TSlotEnum = enum seEmpty, seFilled, seDeleted TKeyValuePair[A, B] = tuple[slot: TSlotEnum, key: A, val: B] TKeyValuePairSeq[A, B] = seq[TKeyValuePair[A, B]] - TTable* {.final, myShallow.}[A, B] = object + TTable* {.final, myShallow.}[A, B] = object ## generic hash table data: TKeyValuePairSeq[A, B] counter: int |