summary refs log tree commit diff stats
path: root/lib/pure/collections
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'devel' of https://github.com/nim-lang/Nim into develAraq2015-10-131-0/+93
|\
| * added all/any/allIt/anyIt with tests and inline documentationrbmz2015-10-131-0/+93
| | | | | | | | Signed-off-by: rbmz <rbmz@users.noreply.github.com>
* | udpated the compiler and tester to use getOrDefaultAraq2015-10-133-12/+17
| |
* | added getOrDefault; bootstrapping works againAraq2015-10-132-33/+40
| |
* | Merge branch 'mget' of https://github.com/def-/Nim into def--mgetAraq2015-10-133-43/+101
|\ \ | |/ |/| | | | | | | | | | | | | | | Conflicts: lib/pure/collections/critbits.nim lib/pure/collections/tables.nim lib/pure/xmltree.nim lib/system/sets.nim tests/collections/ttables.nim tests/collections/ttablesref.nim
| * Rename mget to `[]`def2015-03-313-75/+120
| | | | | | | | | | | | | | | | | | - In sets, tables, strtabs, critbits, xmltree - This uses the new var parameter overloading - mget variants still exist, but are deprecated in favor of `[]` - Includes tests and fixed tests and usages of mget - The non-var `[]` now throws an exception instead of returning binary 0 or an empty string
* | Merge pull request #3423 from petermora/breakSequtilsAndreas Rumpf2015-10-121-35/+168
|\ \ | | | | | | Break sequtils
| * | restore {.immediate.} to toSeqPeter Mora2015-10-061-1/+1
| | |
| * | sequtils related changesPeter Mora2015-10-051-36/+169
| | |
* | | added critbits.inc procAraq2015-10-061-0/+8
|/ /
* | Fixed my name.Alexander Mitchell-Robinson2015-09-071-2/+2
| |
* | lib: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-044-239/+239
| | | | | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* | removed sequtils.reversed again since it's already in algorithm.nimAraq2015-08-101-23/+0
| |
* | added sequtils.reversed; refs #3148Araq2015-08-091-0/+23
| |
* | breaking change: symbol lookups in generics follows spec more closely; fixes ↵Araq2015-08-071-4/+4
| | | | | | | | #2664
* | 'sequtils doesn't take confusing default args anymoreAraq2015-07-081-1/+1
| |
* | prepared selectors module for multi threadingAraq2015-06-301-3/+3
| |
* | Merge branch 'more_concurrency' into develAraq2015-06-304-168/+440
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/tut1.txt lib/core/locks.nim lib/pure/collections/tables.nim lib/pure/selectors.nim
| * | some progress on making async multithreadedAraq2015-05-284-168/+440
| | |
* | | lib/pure/a-c - Dropped 'T' from typespdw2015-06-044-98/+100
| | |
* | | Add contains proc for tables to allow usage of `in`Jonathan2015-05-051-0/+24
|/ /
* | fixes #2625Araq2015-05-031-4/+7
| |
* | Turn some test outputs into actual testsOleh Prypin2015-04-213-15/+18
| |
* | Don't run non-test code when defined(testing)Oleh Prypin2015-04-215-11/+17
| |
* | Merge pull request #2411 from reactormonk/merge-counttablesAndreas Rumpf2015-04-211-0/+61
|\ \ | | | | | | merge for CountTable, see #1680
| * | doc comments for mergeSimon Hafner2015-03-261-0/+3
| | |
| * | merge for CountTable, see #1680Simon Hafner2015-03-261-0/+58
| |/
* | Remove unneeded import os from intsetsOleh Prypin2015-04-091-1/+1
| |
* | Use more Natural and Positive numbers in proc parametersdef2015-04-063-34/+34
| | | | | | | | | | - Didn't go through all modules, only the main ones I thought of - Building the compiler and tests still work
* | Fix warning about sets.testModule() not used.ReneSac2015-04-041-174/+175
|/
* prepare for upcoming parsing change of unary operatorsAraq2015-03-222-18/+18
|
* Making tuples anonymous (so far... not finished).Hans Raaf2015-03-171-23/+22
|
* Changed cast to type conversion and added XXX.Hans Raaf2015-03-071-1/+1
|
* Do we want we to use the typesystem like this?Hans Raaf2015-03-061-2/+3
|
* Added repeat(seq, n) to sequtils.Hans Raaf2015-03-061-0/+28
| | | | This adds a repeat proc for sequences. There is also an test for it at the end of file.
* Fixed table getter not compiling when table value type had not '$' proc ↵krolik2015-03-051-1/+5
| | | | overriden
* Fix unknown symbol in tables mpairs iterator.Hans Raaf2015-02-211-1/+1
| | | | Fixes an error with mpairs iterator which was introduced with 5fbcf93860. This is used by nimforum thats why I found it. I also added a testcase for the mpairs iterator.
* Merge pull request #2139 from c-blake/develAndreas Rumpf2015-02-181-21/+59
|\ | | | | Add mgetOrPut to support just one probe chase for the common
| * Merge ../Nim into develCharles Blake2015-02-164-13/+13
| |\
| * | Add comments explaining odd looking i<0..data[i].Charles Blake2015-02-161-3/+3
| | |
| * | Just do wide interface of hasKeyOrPut & mgetOrPut.Charles Blake2015-02-161-36/+55
| | | | | | | | | | | | | | | | | | | | | Extract maybe re-hash/re-search and insert logic into a new template. Use this new template to do impl templates for all three put forms (which required renaming a couple 'value' arguments to 'val'). Added OrderedTable and OrderedTableRef versions of both as well.
| * | Add TableRef version of mgetOrPut.Charles Blake2015-02-161-0/+5
| | |
| * | Add mgetOrPut to support just one probe chase for the commonCharles Blake2015-02-151-0/+14
| | | | | | | | | | | | pattern of either updating or initializing table entries.
* | | intsets.empty is wrongAraq2015-02-181-2/+3
| |/ |/|
* | Fix typosFederico Ceratto2015-02-154-7/+7
| |
* | Fix typosFederico Ceratto2015-02-151-10/+10
|/
* assignment -> shallowCopy for efficiency.Charles Blake2015-02-132-2/+2
|
* Merge ../Nim into devel; track ttables.nim delete.Charles Blake2015-02-131-1/+1
|\
| * fixed minor bugs; cleaned up testsAraq2015-02-121-1/+1
| |
* | Update doc comments to mention rightSize.Charles Blake2015-02-132-10/+10
| |