We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a769e8b commit af37ad0Copy full SHA for af37ad0
src/mirage_kv.ml
@@ -39,8 +39,8 @@ module Key = struct
39
let parent = function | _::tl -> tl | [] -> []
40
let compare = compare
41
let equal = (=)
42
- let pp ppf l = Fmt.pf ppf "/%a" Fmt.(list ~sep:(any "/") string) (List.rev l)
43
- let to_string = Fmt.to_to_string pp
+ let pp ppf l = Fmt.(any "/" ++ (list ~sep:(any "/") Dump.string)) ppf (List.rev l)
+ let to_string k = "/" ^ String.concat "/" (List.rev k)
44
end
45
46
type key = Key.t
0 commit comments