>From these principles I draw the following (wearisomely detailed)
>conclusions (where "Scheme" means "small Scheme, as proposed by me"):
Gosh, John, if it's this easy, why did we have all those arguments before
in which certain people were saying it was /impossible/ to have
case-insensitive identifiers?
(define (same-identifier? id1 id2)
(or (equal? (string-downcase (symbol->string id1))
(string-downcase (symbol->string id2)))
(equal? (map char-downcase (symbol->string id1))
(map char-downcase (symbol->string id2))))
Or maybe you have to upcase it and downcase it for greatest generality? But
something like this. Whatever is most inclusive.
+1 for your proposal if we can have case-insensitivity back!
_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss