Subject: Re: Legal ANSI comment form?
From: Erik Naggum <>
Date: 22 Aug 2002 21:58:24 +0000
Newsgroups: comp.lang.lisp
Message-ID: <>

* 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.