From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed1.bredband.com!bredband!uio.no!news-feed.ifi.uio.no!ifi.uio.no!not-for-mail From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: Legal ANSI comment form? Date: 22 Aug 2002 21:58:24 +0000 Organization: Naggum Software, Oslo, Norway Lines: 20 Message-ID: <3239042304940089@naggum.no> References: <3D655868.BFE4C243@cs.cmu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: maud.ifi.uio.no 1030053505 15365 129.240.64.16 (22 Aug 2002 21:58:25 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 22 Aug 2002 21:58:25 GMT Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.lisp:38537 * Larry Kramer | I sometimes just use #- to comment out a function or method | (as opposed to #| ... |#). Is this legal ANSI Common Lisp? How and why did you even start doing this? #- and #+ are supposed to be followed by a feature (expression) and then the form that is conditionalized on that feature. When you think you omit the feature, what you do is make the following expression the feature expression and an implementation should look closely at it and barf if it is not valid. Should an implementation fail to barf, perhaps all that says is that they could not imagine that anyone would even /try/ something like that. See Section 24.1.2 (Features). -- Erik Naggum, Oslo, Norway Act from reason, and failure makes you rethink and study harder. Act from faith, and failure makes you blame someone and push harder.