summary refs log tree commit diff stats
path: root/lib/system/setops.nim
Commit message (Collapse)AuthorAgeFilesLines
* warn on set types bigger than max size, default to 0..255 for int literals ↵metagn2023-04-171-2/+2
| | | | | | | | | | | | | | | | | | | (#21659) * test implicitly huge set types refs https://github.com/nim-lang/RFCs/issues/298 * oh my god * boot at least * don't error, fix remaining issues, no 2 len arrays * fix runnable example * test assuming 0..255 for int literal * test refactor, add changelog, test
* pragma for sfCallsite instead of name check + better semantics, test (#20464)metagn2022-10-031-2/+5
| | | | | | | | | | | * pragma for sfCallsite instead of name check at every template definition Not documented because it seems to be for internal use? Should also make it possible to make comparisons and setops imports, but this doesn't have to be done. I can reuse a name like `cursor` for the pragma as well, added a new name just to be safe. * make sfCallsite recursive, add tests
* better setops docs (#16236)flywind2020-12-031-70/+62
| | | | | | | | | | | | | | | | | * js module also uses runnableExamples * better setops docs * Update lib/system/setops.nim * better * Update lib/system/setops.nim * Update lib/system/setops.nim * better * better
* System cleanup, part 2 (#13155)Miran2020-01-151-0/+94
* create basic_types, arithmetics, exceptions, comparisons * create setops.nim * create memalloc.nim * create gc_interface.nim * create iterators_1.nim