gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Re: error in compile


From: Paul F. Dietz
Subject: [Gcl-devel] Re: error in compile
Date: Wed, 02 Mar 2005 07:38:56 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217

Peter Wood wrote:

(let ((foo 'bar) (bar 'foo)) (defun fubar () (list bar foo)))


FUBAR


(symbol-function 'fubar)


(LAMBDA-BLOCK-CLOSURE ((BAR FOO) (FOO BAR)) () () FUBAR ()
  (LIST BAR FOO))


(compile 'fubar)


LAMBDA-BLOCK-CLOSURE fell through ECASE expression.
Wanted one of (LAMBDA LAMBDA-BLOCK).

Fast links are on: do (use-fast-links nil) for debugging
Broken at CASE.  Type :H for Help.
 1 (Continue) Return to top level.
dbl:>>


Your example isn't ANSI compliant.  See the page of CLHS for 'COMPILE':

    The consequences are undefined if the lexical environment
    surrounding the function to be compiled contains any bindings
    other than those for macros, symbol macros, or declarations.

        Paul





reply via email to

[Prev in Thread] Current Thread [Next in Thread]