diff options
author | Matt Wilson <matt@culturethree.com> | 2023-05-12 18:02:09 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-12 14:02:09 +0800 |
commit | ea39c600abcb8853791404145c3038ea9488d0f4 (patch) | |
tree | 136b94bf1d92bfad7e2eb57405b569cb035dbd68 /tests/js/tunittest_error.nim | |
parent | 9810b8cf7ff85a306699d8393ce516501d938e05 (diff) | |
download | Nim-ea39c600abcb8853791404145c3038ea9488d0f4.tar.gz |
Add `minmax` to comparisons (#21820)
* Add `minmax` to sequtils This adds a `minmax` proc to complement `min` and `max`; it computes both results in a single pass for efficiency. * Update lib/pure/collections/sequtils.nim * Add minmax note to changelog. --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Diffstat (limited to 'tests/js/tunittest_error.nim')
0 files changed, 0 insertions, 0 deletions