Ppxlib.Longident
Overrides the Longident
module of OCaml
val sexp_of_t : t -> Stdppx.Sexp.t
val flatten_exn : t -> string list
val last_exn : t -> string
val parse : string -> t
Parses the given string as a longident, properly handling infix operators which may contain '.'. Note that it does not parse Lapply _
longidents and will raise Invalid_argument _
if passed values such as "A(B)"
.
val name : t -> string