CLIM mail archive
(ACCEPT '(AND EXPRESSION (SATISFIES <func>))) doesn't work right
Date: Fri, 21 Jan 1994 11:51 EST
CLIM 2.0 Beta on LispWorks 3.2.21 Beta 4 and Allegro 4.2.beta2.0
If I type the following into the CLIM Lisp Listener:
(clim:accept '(and number (satisfies oddp)))
then a previous presentation of 13 highlights, but a previous
presentation of 12 does not highlight. This is as it should be. If,
however, I use CLIM:EXPRESSION instead of NUMBER:
(clim:accept '(and clim:expression (satisfies oddp)))
then both 12 and 13 highlight. Why doesn't AND correctly apply the
SATISFIES test for CLIM:EXPRESSION just as it does for NUMBER?
This turns out to be a subtle bug in the EXPRESSION type. I have a fix
for it, but it slightly changes the behavior of some other stuff. I
haven't yet decided if the other behavioral change is unimportant.
Main Index |