mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-05-05 08:54:22 -04:00
CCMap.to_list: always in increasing order now
This commit is contained in:
parent
7f8df6d63d
commit
479fe31c27
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ module Make (O : Map.OrderedType) = struct
|
|||
|
||||
[@@@iflt 5.1]
|
||||
|
||||
let to_list m = fold (fun k v acc -> (k, v) :: acc) m []
|
||||
let to_list = bindings
|
||||
|
||||
[@@@endif]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue