[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

#(...) Simple Vectors



Wilhelm Burger writes:
 > > #(9 9 9)          ;This should create a simple vector
 > 
 > *** - EVAL: illegal form #(9 9 9)
 > 
 > 
 > Is the form #(..) illegal in CLISP (vs. CLtL2 p.533)?
CLISP is not CLtL2 in every respect. The form #(...) is not
self-evaluating.

Use '#(9 9 9) (see the quote) and everything should be fine. This
difference mostly concerns top-level calls and constants in programs,
easy to locate in a source file.

 	Joerg Hoehle.
hoehle@inf-wiss.uni-konstanz.de