[r6rs-discuss] strange escape sequence in string literals

Andy Wingo wingo at pobox.com
Thu Nov 18 13:54:05 EST 2010


Hello all,

In section 4.2.7, the R6RS specifies a very strange escape sequence in
string literals:

  <intraline-whitespace><line-ending><intraline-whitespace>
  -> nothing

where the definition of <intraline-whitespace> is

  <character tabulation> | <any character whose category is Zs>

<character tabulation> is just TAB. Zs is the space separator category.

What is this for? If it is for multiline indented strings, it seems to
be missing a + in the spec; otherwise it just specifies one whitespace
char, one line ending, and one whitespace char.

It looks terrible, frankly, and I am not inclined to merge a patch to
implement this.

But if there is a good reason, I could revisit this choice.

Andy
-- 
http://wingolog.org/



More information about the r6rs-discuss mailing list