module Map: functor (
M
:
Map.S
) ->
functor (
P
:
Printer
with type t = M.key
) ->
sig
.. end
Functor used to build assertion functions for Map.S.t
values.
Parameters: |
M |
: |
Map.S
|
P |
: |
Printer with type t = M.key
|
|
val make_equal : ('a -> 'a -> bool) ->
('a -> string) -> ?msg:string -> 'a M.t -> 'a M.t -> unit
make_equal eq prn
returns a function for testing equality of maps.
eq
is used to compare values, while prn
is used to print them.
val make_not_equal : ('a -> 'a -> bool) ->
('a -> string) -> ?msg:string -> 'a M.t -> 'a M.t -> unit
make_not_equal eq prn
returns a function for testing inequality of maps.
eq
is used to compare values, while prn
is used to print them.