summary refs log tree commit diff stats
path: root/lib/std/with.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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