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

Re: problem with eval



> l is bound to (RNOTCONTAINED (MAPLET 'JOE 1) #<RELATION #x000080>)
> and when i try to (eval l) i get a error
> *** - EVAL: illegal form #<RELATION #x000080>

Try to bind l to  (RNOTCONTAINED (MAPLET 'JOE 1) (QUOTE #<RELATION #x000080>))
instead, and eval that.

> could someone explain why this occurs?

Because CLtL1 doesn't specify what happens if you try to eval something which
is not a bit-vector, list, symbol, string or number, and CLISP gives you an
error for that.


                    Bruno Haible
                    haible@ma2s2.mathematik.uni-karlsruhe.de