Skip to content

Commit

Permalink
Format utils module
Browse files Browse the repository at this point in the history
  • Loading branch information
ixzzd committed Dec 27, 2023
1 parent a4a0edb commit 1cb7102
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lib/utils.ml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,12 @@ let concat_snake_case strs = String.concat "_" strs
let type_name = sanitize_name
let variant_name str = String.capitalize_ascii (sanitize_name str)

module Fresh
(T : sig
type t
module Fresh (T : sig
type t

val compare : t -> t -> int
end)
() =
val compare : t -> t -> int
end)
() =
struct
external id : 'a -> 'a = "%identity"

Expand Down

0 comments on commit 1cb7102

Please sign in to comment.