summary refs log tree commit diff stats
path: root/lib/std/with.nim
Commit message (Collapse)AuthorAgeFilesLines
* complete std prefixes for stdlib (#22887)ringabout2023-10-301-1/+1
| | | | follow up https://github.com/nim-lang/Nim/pull/22851 follow up https://github.com/nim-lang/Nim/pull/22873
* Remove debug echo from with (#22047)Antonis Geralis2023-06-081-1/+0
|
* Nested `with` blocks (#22042)awr12023-06-081-0/+10
| | | | | * Implemented with-nesting in underscoredCalls() * Add tests for nested with
* Small doc improvements for `std/with` (#17556)konsumlamm2021-03-291-3/+4
|
* use single backtick (#17141)flywind2021-02-211-1/+1
|
* move rest of tests to testament (#16140)flywind2020-11-271-20/+0
| | | | * move rest of tests to testament * Update tests/stdlib/tsums.nim
* std/with support field assign (#14484)slangmgh2020-08-151-0/+7
| | | | | | | | | | | | | | | | | | | | | * std/with support filed assign * add changelog * add support x.dup.with * add example * revert support x.dup.with; add example * update changelog; fix assignment in parameter * Update changelog.md * add example for assignment in parameter * Remove colon style assign Co-authored-by: Clyybber <darkmine956@gmail.com>
* fixes a bug for 'dup' and 'with'; they can now handle nested statement lists ↵Araq2020-03-171-8/+1
| | | | that can result from macros
* added operateOn to sugar.nim to give Nim the chaining mechanism it de… ↵Andreas Rumpf2020-02-261-0/+58
(#13092) * implemented the with stdlib module as specified in https://github.com/nim-lang/RFCs/issues/193 * change sugar.outplace to sugar.dup according to https://github.com/nim-lang/RFCs/issues/193 * changelog update