Module Enum.Single

module type S = sig ... end
type 'a t = (module S with type t = 'a)
val to_string_hum : 'a t -> 'a -> Base.string

Map a constructor name to a command-line string: downcase the name and convert _ to -.

val check_field_name : 'a t -> 'a -> (_, _, _) Base.Field.t_with_perm -> Base.unit