gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] funcall bug (not ansi !! Yay)


From: Peter Wood
Subject: [Gcl-devel] funcall bug (not ansi !! Yay)
Date: Thu, 21 Nov 2002 17:35:44 +0100
User-agent: Mutt/1.4i

Hi

Here's a refreshingly non-ansi bug.  It exists on CVS GCL (downloaded
now), and 2.4.3.  Two examples:

>(funcall #'eval '(+ 1 1))

=>#<compiled-function EVAL>

>(mapcar #'eval '((+ 1 1) (funcall #'eval '(+ 1 1))))

=>(2 #<compiled-function EVAL>)


Weird, huh?

I 'fixed' it with the appended patch. DISCLAIMER: the fix is so
obvious there has to be something wrong with it too.  The line I
changed goes all the way back to KCL!?

Does anyone have any notes or documentation for the internal types:
t_afun, t_sfun, etc?  Or just knowledge they would share with the list?

Regards,
Peter

Attachment: eval.patch
Description: Text document


reply via email to

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