1 2 3 4 5 6 7 8 9 10 11 12 13 14
(* SPDX-License-Identifier: AGPL-3.0-or-later *)
(* Copyright © 2021-2026 OCamlPro *)
(* Written by the Owi programmers *)
include PatriciaTree.MakeMap (struct
include Int
let to_int x = x
end)
let pp pp_v fmt =
pretty ~pp_sep:(Fmt.any "; @;")
(fun fmt k v -> Fmt.pf fmt "(%i -> %a)" k pp_v v)
fmt