Nim/lib
Jake Leahy 900fe8f501
Add contains to std/macrocache (#21304)
* Add test cases

* Implement contains for CacheSeq

* Implement contains for CacheTable

* Fix implementation of hasKey

* Remove contains for CacheSeq

Fix runnable examples

I was accidently using --doccmd:skip so I didn't spot the failure locally

* Implement hasKey as a VM callback instead of magic

* Implement suggestions from PR

Co-Authored-By: ringabout <ringabout@users.noreply.github.com>

* Update lib/core/macrocache.nim

---------

Co-authored-by: ringabout <ringabout@users.noreply.github.com>
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
2023-02-01 10:00:10 +01:00
..
arch/x86 Coroutine rework. 2017-02-20 17:24:19 +02:00
core Add contains to std/macrocache (#21304) 2023-02-01 10:00:10 +01:00
deprecated/pure stdlib organization & documentation improvements (#20971) 2022-12-06 09:37:03 +01:00
experimental make more standard libraries work with nimPreviewSlimSystem (#20343) 2022-09-27 20:06:23 +02:00
genode ref #20694; quit value gets saturated to ranges (#20753) 2022-11-05 10:58:57 +01:00
genode_cpp Genode: add scheduleCallbacks to asyncdispatch (#20708) 2022-10-31 19:24:57 +01:00
impure re and nre now link to regex and tinyre (#21161) 2022-12-23 10:50:07 -05:00
js dom: remove X* = ref XObj [backport] (#20910) 2022-11-29 14:24:51 -05:00
packages/docutils fixes #21232; highlite.getNextToken() returns gtOperator for '/' in C (#21234) 2023-01-08 15:40:27 +01:00
posix minor code cleanups (#21215) 2023-01-02 10:39:17 +01:00
pure Revert "Fix #13093 C++ Atomics: operator= is implicitly deleted because the default definition would be ill-formed " (#21307) 2023-01-27 21:41:59 +01:00
std fixes #21273; fixes an io.readLine off by one bug [backport 1.0] (#21276) 2023-01-25 14:56:19 -05:00
system fixes #21195; std/assertions continue to use sysFatal when nimPreviewSlimSystem is not defined (#21196) 2022-12-29 14:15:08 -05:00
windows refactor os imports into corresponding small modules (#20720) 2022-11-01 10:18:04 +01:00
wrappers build the documentation of official packages (#20986) 2022-12-06 22:37:16 +08:00
cycle.h
deps.txt added lib/deps.txt 2021-06-03 14:00:53 +02:00
nimbase.h fixes #20654 FAMs should not be used in the C++ backend (#20655) 2022-10-25 17:39:51 +02:00
nimhcr.nim fixes #20526; use nimPreviewSlimSystem for documentation build (#20714) 2022-11-01 12:53:14 +01:00
nimhcr.nim.cfg Initial version of the hot-code reloading support for native targets (#10729) 2019-02-26 15:48:55 +01:00
nimrtl.nim add missing docs (#18758) 2021-08-29 09:18:54 +02:00
nimrtl.nim.cfg Initial version of the hot-code reloading support for native targets (#10729) 2019-02-26 15:48:55 +01:00
stdlib.nimble attempt to make the build green again 2017-01-07 02:55:15 +01:00
system.nim fixes #21195; std/assertions continue to use sysFatal when nimPreviewSlimSystem is not defined (#21196) 2022-12-29 14:15:08 -05:00
system_overview.rst add link to setutils in system module docs (#21130) 2022-12-22 09:54:17 +01:00