Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve sequtils documentation (#16559) | konsumlamm | 2021-01-04 | 1 | -78/+79 |
| | | | | | | | * Improve sequtils documentation Uncomment assertions in tests * Use present tense | ||||
* | sequtils.nim: Change some `func` back to `proc` (#16309) | ee7 | 2020-12-14 | 1 | -28/+28 |
| | | | | | | | | | | | This commit changes the funcs that take a `proc` parameter back to procs. This reverts some of commit 6f57ebae349f: sequtils.nim: Use `func` (#16293) See also: - https://github.com/nim-lang/Nim/issues/16303 - https://github.com/nim-lang/Nim/pull/16304 | ||||
* | clean the docs of sequtils (#16332) | flywind | 2020-12-14 | 1 | -97/+89 |
| | |||||
* | sequtils.nim: Use `func` (#16293) | ee7 | 2020-12-09 | 1 | -46/+46 |
| | | | | | | | | | * sequtils.nim: proc -> func * sequtils.nim: proc -> func in links * sequtils.nim: proc -> func in non-link doc comments * test: add `sequtils` to strictFuncs test | ||||
* | fixed article duplication typos (#16216) | ihlec | 2020-12-02 | 1 | -1/+1 |
| | |||||
* | Grammar fixes | Clyybber | 2020-10-30 | 1 | -4/+4 |
| | |||||
* | promote `collect` macro as a map+filter replacement (#15788) | Miran | 2020-10-30 | 1 | -0/+27 |
| | | | | | * promote `collect` macro as a map+filter replacement * Update lib/pure/collections/sequtils.nim | ||||
* | Add 1 overload to apply (#15439) | Juan Carlos | 2020-10-01 | 1 | -0/+5 |
| | |||||
* | docs minor and #15335 (#15337) | flywind | 2020-09-16 | 1 | -0/+7 |
| | |||||
* | Fix #14994 (#14996) | Clyybber | 2020-07-15 | 1 | -1/+2 |
| | | | | | | | * Fix #14994 * Revert misplaced "optimization" * Typo | ||||
* | remove isMainModule from json,os,sequtils (#14572) | Timothee Cour | 2020-06-06 | 1 | -461/+0 |
| | | | | | * move json.isMainModule => tjson * move isMainModule => tos,tsequtils | ||||
* | fix #14404 foldr had the classic multiple evaluation bug (#14413) | Timothee Cour | 2020-05-21 | 1 | -7/+7 |
| | |||||
* | sequtils refactoring: prefer typeof over type (#14212) | Andreas Rumpf | 2020-05-04 | 1 | -15/+15 |
| | |||||
* | move since from inclrtl to std/private/since (#14188) | hlaaftana | 2020-05-02 | 1 | -1/+1 |
| | | | | * move since from inclrtl to std/private/since * move since import in system below for HCR | ||||
* | fix mapIt issues #12625 & #12639 (#14041) | Judd | 2020-04-21 | 1 | -14/+36 |
| | | | | | | | | | | | | * fix mapIt issues #12625 & #12639: 1. fallback to call `map` when the result of `op` is a closure; 2. use `items(s)` in the for loop. * fix test errors. * add comments and InType is moved. * fix ident. | ||||
* | return types must not be Natural for reasons I won't outline here | Araq | 2020-04-02 | 1 | -1/+1 |
| | |||||
* | feature/count (#13837) | Dean Eigenmann | 2020-04-02 | 1 | -0/+19 |
| | |||||
* | revert stdlib changes which are not required anymore | Andreas Rumpf | 2020-04-01 | 1 | -2/+3 |
| | |||||
* | Hrm, the new errors highlighted some code that seems to be broken | Zahary Karadjov | 2020-04-01 | 1 | -3/+2 |
| | | | | | | New issue: since `Table[A, B]` allocates its backing storage with `newSeq[KeyValuePair[A, B]]`, it's no longer legal to create a table with `not nil` types used as either keys or values. | ||||
* | make unzip faster: seq[i]=val can be 7X faster than seq.add(elem) (#13448) | Timothee Cour | 2020-02-21 | 1 | -5/+5 |
| | |||||
* | Add `sequtils.unzip` to complement `sequtils.zip` (#13429) | Kaushal Modi | 2020-02-20 | 1 | -0/+15 |
| | |||||
* | Idxmin & idxmax, continuation (#13208) | Miran | 2020-01-20 | 1 | -0/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add idxmin() which returns the index of the minimum value * Add idxmax() which returns the index of the maximum value * Add tests for idxmin() * Add tests for idxmax() * Remove initialization of result = 0 * Adds overloading for arrays (no enums indexed arrays yet) * Add support for enum index arrays * Fix tests with enum * Fix tests for idxmax * Change names of the procedures to minIndex and maxIndex * address Araq's comments: - remove 'array' versions - add .since pragma - return 'int' instead of 'Natural' - add changelog entry Co-authored-by: Federico A. Corazza <20555025+Imperator26@users.noreply.github.com> | ||||
* | Fix sequtils.delete bug with out of bounds indexes (#12506) | Oscar Nihlgård | 2019-11-29 | 1 | -1/+6 |
| | |||||
* | remove long-deprecated 'mapIt' | narimiran | 2019-11-13 | 1 | -7/+0 |
| | |||||
* | Make sequtils.zip return seq of anonymous tuples (#12575) | Kaushal Modi | 2019-11-04 | 1 | -40/+64 |
| | | | | | | | | | | * Make sequtils.zip return seq of anonymous tuples Earlier the tuples had named fields "a" and "b" and that made it difficult to assign the zip returned seqs to other vars which expected seqs of tuples with field names other than "a" and "b". * Make sequtils.zip backwards compatible with Nim 1.0.x | ||||
* | fix several typos in documentation and comments (#12553) | Nindaleth | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | sequtils: replace deprecated 'random' call within example (#12515) [backport] | Jjp137 | 2019-10-25 | 1 | -1/+1 |
| | |||||
* | Fix many broken links | Jjp137 | 2019-10-22 | 1 | -1/+1 |
| | | | | | | Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol. | ||||
* | use system.move instead of system.shallowCopy if the GC mode requires it | Andreas Rumpf | 2019-10-04 | 1 | -4/+16 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -2/+2 |
| | |||||
* | styleCheck fix: type naming: s/outType/OutType/ (#11749) | Kaushal Modi | 2019-07-16 | 1 | -9/+9 |
| | |||||
* | [other] prettify collections (#11695) | Miran | 2019-07-09 | 1 | -60/+63 |
| | |||||
* | [bugfix] fix `delete` in strutils and sequtils (#11535) | Miran | 2019-06-20 | 1 | -1/+1 |
| | |||||
* | [other] documentation: deprecation comments are now auto-generated | narimiran | 2019-06-19 | 1 | -3/+1 |
| | |||||
* | sequtils: minor typo | Araq | 2019-05-10 | 1 | -1/+1 |
| | |||||
* | reimplement_pr_10974 (#11130) | cooldome | 2019-04-27 | 1 | -0/+16 |
| | |||||
* | fixes #10433 (#10444) | Miran | 2019-01-24 | 1 | -0/+9 |
| | |||||
* | documentation: remove author field [ci skip] | narimiran | 2019-01-17 | 1 | -2/+0 |
| | |||||
* | sequtils doc: another quickfix [ci skip] | narimiran | 2019-01-16 | 1 | -3/+3 |
| | |||||
* | quickfix for sequtils docs [ci skip] | narimiran | 2019-01-16 | 1 | -6/+3 |
| | |||||
* | better docs: sequtils | narimiran | 2019-01-16 | 1 | -303/+414 |
| | |||||
* | Add the parameter isSorted for the sequtils.deduplicate | data-man | 2018-12-07 | 1 | -3/+21 |
| | |||||
* | universal toSeq: works with UFCS; works with inline & closure iterators, and ↵ | Timothee Cour | 2018-11-22 | 1 | -30/+130 |
| | | | | | | | | | | | with iterables (#8711) * universal toSeq: works with UFCS; works with inline, closure, and proc iterators, and also non-iterators * support all iterables with toSeq * workaround for #9130 | ||||
* | added system.typeof operation; fixes #9093 | Araq | 2018-10-24 | 1 | -4/+18 |
| | |||||
* | Merges #8451 manually. Fixes #8099. | Dominik Picheta | 2018-10-03 | 1 | -1/+1 |
| | |||||
* | make sequtils compile | Araq | 2018-08-22 | 1 | -1/+0 |
| | |||||
* | fixes #7187 sequtils.toSeq produces the sequence from the iterator twice (#8586) | Timothee Cour | 2018-08-16 | 1 | -14/+26 |
| | | | | | * cleanups refs #8584 * fixes #7187 | ||||
* | fixes #8577, fixes #8580, other bug fixes (#8584) | Timothee Cour | 2018-08-14 | 1 | -38/+86 |
| | |||||
* | Fix regression for mapIt (#8567) | LemonBoy | 2018-08-08 | 1 | -3/+8 |
| | | | | | | Don't try to be too smart and limit the use of `evalOnce` where strictly needed as not every value can be assigned with a `let`. Fixes #8566 | ||||
* | Make mapIt work on openArray's (#8543) | LemonBoy | 2018-08-07 | 1 | -3/+30 |
| |