quote

Lib.quote : string -> string

Put quotation marks around a string.

An application quote s is equal to "\"" ^ s ^ "\"". This is often useful when printing messages.

Failure

Never fails

Example

> "foo";
val it = "foo": string

> quote "foo";
val it = "val it = foo ; \n": string

See also

Lib.mlquote