Subject: Re: Are there "constructors" in CLOS? From: Erik Naggum <erik@naggum.net> Date: 2000/12/07 Newsgroups: comp.lang.lisp Message-ID: <3185182937784233@naggum.net> * Janis Dzerins <jonis@latnet.lv> | Common Lisp allows one to put hyphens (not underscores) in symbols, | and that's what others are doing. Actually, underscores are OK, too. Any character is allowed with a backslash before it or with the whole symbol quoted with ||, but you don't need that unless the character is a terminating macro character in the current readtable. Avoid '";,() and you're pretty much safe, unless you try to use # at the beginning of a symbol -- that would mean something else. This wide-open freedom to name symbols anything is not abused as much as the freedom to abuse case distinctions is. | BTW, reader GETF and writer SETF for LENS are symbols in COMMON-LISP | package so your compiler should signal an error (unless you're using | ACL 6.0 in "modern" mode). Good catch, and a case of abuse of case distinctions if you ask me. #:Erik -- "When you are having a bad day and it seems like everybody is trying to piss you off, remember that it takes 42 muscles to produce a frown, but only 4 muscles to work the trigger of a good sniper rifle." -- Unknown