Module Names.ValueNameSource

Sourcetype t
Sourceval to_string : t -> string
Sourceval to_string_unsafe : t -> string

to_string_unsafe will allow even internal names to be turned into strings. Use with caution.

Sourceval make_std : string -> t
Sourceval of_ident : Ident.t -> t
Sourceval internal_of_string : string -> t
Sourceval internal_of_ident : Ident.t -> t
Sourceval is_internal : t -> bool
Sourceval equal : t -> t -> bool
Sourceval compare : t -> t -> int
Sourceval fmt : Format.formatter -> t -> unit
Sourceval is_hidden : t -> bool

Hidden names are those that contain a double underscore, e.g. Hidden__module