On Tuesday, 1 October 2013 at 09:21:44 UTC, John Colvin wrote:
On Monday, 30 September 2013 at 21:24:28 UTC, linkrope wrote:
But putting quotes around a string value is obviously not enough. What if the string contains a quote? "hell\"o" would become `"hell"o"`!

Would would you want it be become?

I believe the basic idea of repr and friends is to output language literals. You could copy&paste the output back into a source file and use it.

Reply via email to