summary refs log tree commit diff stats
path: root/tests/js/tunittest_error.nim
diff options
context:
space:
mode:
authorMatt Wilson <matt@culturethree.com>2023-05-12 18:02:09 +1200
committerGitHub <noreply@github.com>2023-05-12 14:02:09 +0800
commitea39c600abcb8853791404145c3038ea9488d0f4 (patch)
tree136b94bf1d92bfad7e2eb57405b569cb035dbd68 /tests/js/tunittest_error.nim
parent9810b8cf7ff85a306699d8393ce516501d938e05 (diff)
downloadNim-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