Module Gist.Name

Name munging.

val unqualified : applied_name -> name

unqualified_name n is the unqualified name of n or "" if n is "". For example "t" in "Buffer.t" or "(string, int) Hashtbl.t".

val module_path : applied_name -> qualified_name

module_path g is the module path of name g or "" if there is no module path. For example "Buffer" in "Buffer.t" or "Hasthbl" in "(string, int) Hashtbl.t".

val type_args : applied_name -> string

type_args are the type arguments of polymorphic type instances. For example "" in Buffer.t and "(string, int)" in "(string, int) Hashtbl.t".