Re: case sensitivity of provide, require and module-provide-asdf
Chris Stacy <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <[email protected]> |
> On May 26, 2016, at 1:48 PM, Pascal J. Bourguignon <[email protected]> wrote: > > Raymond Toy <[email protected]> writes: > >>>>>>> "Sam" == Sam Steingold <[email protected]> writes: >> >>>> * Daniel Jour <[email protected]> [2016-05-15 21:40:41 +0200]: >>>> >>>> Given the ignorance of case prevalent in Common Lisp, >> >> Sam> the only places where this happens are: >> Sam> 1. reader is case-converting by default >> >> I think you meant upcasing. 'ABC and 'abc are both the same symbol >> whose name is "ABC". > > Wrong: > > cl-user> (EQ 'ABC 'abc) > NIL > cl-user> (MAPCAR 'SYMBOL-NAME '(ABC Abc abc)) > ("ABC" "Abc" "abc”) I think someone reading this might get confused about case in Common Lisp. Normally, (eq ‘abc ‘ABC) => T of course, since READ upcases symbols. Also (eq #’eq #’EQ) => T for example. But symbol names are case-sensitive, and Pascal’s confounding example above left out the part where he trickily altered the “readtable case” of the current reader, causing it ti preserve case. Notice that he typed uppercase EQ, because the symbol-name of EQ is (like all Common Lisp built-ins) actually uppercase. See: http://www.lispworks.com/documentation/lw51/CLHS/Body/23_aba.htm Don’t want to confuse any readers about the readers… ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ clisp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-devel