backslashes within quotes

Doug McIlroy doug at
Sat Oct 6 05:53:00 CEST 2012

> "\xe\x1" is unambiguous.

There are two things wrong with this solution:

(1) It descends to another level of discourse--binary encoding of characters.

(2) It does not actually eliminate the need for \&. Consider the
string "\SOH1".  It cannot be written "\x11", or even "\x011".

Doug McIlroy

More information about the Haskell-prime mailing list