This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: AVAIL: guile case-sensitivty patch



> Hi there. I have had a go at patching the guile source to eliminate the
> case sensitivity problem I mentioned in a previous  note. Specifically,
> (eq? 'foo 'FOO) now evaluates to #t as expected by
> R5RS.
> 
> For more information, and the patch file, visit:
> 
>     http://www.zeta.org.au/~jon/scheme/guile.html
> 
> I'd appreciate feedback about the correctness of the fix.

Sorry for the slow response.

I don't want to change Guile's behavior at the moment.  If you want
Guile to be case-insensitive, you can do this:

$ guile
guile> (read-enable 'case-insensitive)
(keywords #f case-insensitive positions)
guile> (eq? 'x 'X)
#t