@hackage / minmax

Functions to find both minimum and maximum (or several of them simultaneously) in one pass.

Latest0.1.1.0

Changelog

Revision history for minmax

0.1.0.0 -- 2024-01-13

0.1.1.0 -- 2024-01-15

  • First version revised A. Switched to foldl' instead of foldr in the functions here. It looks like for many cases it leads to more efficient imlementation both in time and space.