News for hackers. Stuff that matters.
Re:The Value of Undefined Behavior by fiddlerwoaroof on Saturday July 21, 2018 @05:54PM (#17584057)
But it’s not an error: for some of these cases the standard doesn’t specify the consequences and most implementations don’t throw an error if you modify a reader literal, even if you end up modifying the interned list.
Re:The Value of Undefined Behavior by dfox on Saturday July 21, 2018 @06:11PM (#17584115)
"Is an error" is wording used by the standard for things that are left undefined. For things that should signal some kind of error condition the standard uses wording "an error is signalled", the set of such cases is surprisingly small.