[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strings draft

This page is part of the web mail archives of SRFI 50 from before July 7th, 2015. The new archives for SRFI 50 contain all messages, not just those from before July 7th, 2015.



Alex Shinn <foof@xxxxxxxxxxxxx> writes:

> Scheme identifiers are case-sensitive, it's just the reader that by
> default performs a case-mapping.  From R5RS:
> 
>      (eq? 'bitBlt (string->symbol "bitBlt"))
>                ==>  #f

> So to be consistent with this we should change the paragraph under
> lexical conventions which reads:
> 
>   Upper and lower case forms of a letter are never distinguished except
>   within character and string constants.  For example, `Foo' is the same
>   identifier as `FOO', and #x1AB is the same number as #X1ab.
> 
> to something like
> 
>   Upper and lower case forms of a letter are never distinguished except
>   within character and string constants.  For example, `Foo' is the same
>   identifier as `FOO', and #x1AB is the same number as #X1ab.  The case
>   mapping or comparison procedures used for this use
>   (scheme-standard-locale) as the locale argument.

Yes, quite right.