From: John Cowan <[email protected]> Subject: [r6rs-discuss] Proposed features for small Scheme, part 3: Unicode Date: Mon, 7 Sep 2009 23:47:59 -0400
> 12) All Scheme implementations shall permit the sequence > "\x<hexdigits>;" to appear in Scheme identifiers. If the > character with the given Unicode scalar value is supported > by the implementation, this sequence must be replaced > by the corresponding character; if not, it is left alone. > > This causes symbol->string not to produce the same string on all > implementations. For example, the hypothetical implementation > above would have (symbol->string '\x3BB;) produce a one-character > string, whereas an ASCII-only Scheme would produce a six-character > string. With this definition, won't ASCII-only Scheme return the same six-character strings for those two expressions? (symbol->string '\x3bb;) (symbol->string '\x5c;x3bb;) Are those two symbols the same in ASCII-only Scheme, or are they still different? --shiro _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
