ligo/vendors/ligo-utils/simple-utils/x_string.mli

13 lines
329 B
OCaml
Raw Normal View History

2020-04-27 13:30:59 +04:00
(*
Ligo_string represent string as they are writen in a ligo program,
delimited either with double quotes (standard) or with `{|...|}` (Varbatim)
*)
type t =
Standard of string
| Verbatim of string
val compare : ?compare:(string->string->int) -> t -> t -> int
2020-04-27 13:30:59 +04:00
val pp : Format.formatter -> t -> unit
val extract : t -> string