> If someone's > case-sensitive code imports `FOO' from a case-folding library that > exports it as `foo', should it find it?
I can see that this is an important question in principle, but in practice the only two choices (supposing there is no local symbol FOO in the case-sensitive code) are to give an error or to find it. Given that choice, it seems clear to me that it's more useful to allow the match than to give an error message. (It wouldn't kill me if you want to give a /warning/ that the symbol can be resolved only by case-folding.) It also wouldn't kill me if case-insensitive programs export only in lower case. But it would clearly violate the case-insensitive program's view of the world if the symbol were exported only in whatever case the programmer happened to use at some particular point in the program, and it would be extra bad if two spellings of the same identifier (from this program's point of view) turned into different identifiers when exported. _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
