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.
Never fails
- print "foo\n";
foo
> val it = () : unit
- print (quote "foo" ^ "\n");
"foo"
> val it = () : unit