refactoring: new type aliases Misc.{filepath,modname,crcs,alerts}
parent
9bcb8361ea
commit
9847940c01
|
@ -880,3 +880,9 @@ let debug_prefix_map_flags () =
|
|||
let print_if ppf flag printer arg =
|
||||
if !flag then Format.fprintf ppf "%a@." printer arg;
|
||||
arg
|
||||
|
||||
type filepath = string
|
||||
type modname = string
|
||||
type crcs = (modname * Digest.t option) list
|
||||
|
||||
type alerts = string Stdlib.String.Map.t
|
||||
|
|
|
@ -452,3 +452,9 @@ val debug_prefix_map_flags: unit -> string list
|
|||
val print_if :
|
||||
Format.formatter -> bool ref -> (Format.formatter -> 'a -> unit) -> 'a -> 'a
|
||||
(** [print_if ppf flag fmt x] prints [x] with [fmt] on [ppf] if [b] is true. *)
|
||||
|
||||
type filepath = string
|
||||
type modname = string
|
||||
type crcs = (modname * Digest.t option) list
|
||||
|
||||
type alerts = string Stdlib.String.Map.t
|
||||
|
|
Loading…
Reference in New Issue