You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow double-quote and backslash in string and char literals. Per Standard ML syntax, string and char literals are enclosed in double-quotes, and double-quotes and backslash are escaped using a backslash.
Here are some examples (run in sml-nj v110.79):
- "a string literal with a \"quoted\" word";
val it = "a string literal with a \"quoted\" word" : string
- "a string with a backslash \\ and a forward slash /";
val it = "a string with a backslash \\ and a forward slash /" : string
- #"a";
val it = #"a" : char
- #"\"";
val it = #"\"" : char
- #"\\";
val it = #"\\" : char
The text was updated successfully, but these errors were encountered:
Allow double-quote and backslash in string and char literals. Per Standard ML syntax, string and char literals are enclosed in double-quotes, and double-quotes and backslash are escaped using a backslash.
Here are some examples (run in sml-nj v110.79):
The text was updated successfully, but these errors were encountered: