CCMap.to_list: always in increasing order now

This commit is contained in:
Simon Cruanes 2026-03-23 11:46:38 -04:00
parent 7f8df6d63d
commit 479fe31c27
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -191,7 +191,7 @@ module Make (O : Map.OrderedType) = struct
[@@@iflt 5.1] [@@@iflt 5.1]
let to_list m = fold (fun k v acc -> (k, v) :: acc) m [] let to_list = bindings
[@@@endif] [@@@endif]