diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-02-22 07:43:47 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-02-22 07:43:47 -0800 |
commit | e987585d08122ecf3448a2d432346d2e128e5926 (patch) | |
tree | 582bcfcb1881c471578b598d62ad38429ade3d84 /hash.c | |
parent | c38dbf7975d0df4758b295b90a47c1dbaaeaa976 (diff) | |
download | txr-e987585d08122ecf3448a2d432346d2e128e5926.tar.gz txr-e987585d08122ecf3448a2d432346d2e128e5926.tar.bz2 txr-e987585d08122ecf3448a2d432346d2e128e5926.zip |
find-max: convert to seq_info iteration.
* lib.c (find_max): Simplify into a single loop rather than
handling various sequence types specially. This means it
works for all iterable objects now.
* txr.1: find-max documentation updated; discussion of
hash tables removed, since the described behavior is the
one expected for hash tables as iterables.
* tests/012/seq.tl: Add some test coverage.
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions