bug-kawa
[Top][All Lists]
Advanced

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

[Bug-kawa] [bug #13573] comparisons using kawa in clisp mode


From: Per Bothner
Subject: [Bug-kawa] [bug #13573] comparisons using kawa in clisp mode
Date: Thu, 30 Jun 2005 05:52:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8b2) Gecko/20050527 Firefox/1.0+

Update of bug #13573 (project kawa):

                  Status:                    None => Fixed                  
             Assigned to:                    None => bothner                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

The problem is the difference between Scheme and Common Lisp true/false.

I fixed the immediate problems.  Now:
(if (> (+ 1 4) 7) (+ 1 2) (+ 5 6)) => 11, as expected.

I also fixed a problem with the eq function.

list? is (as you say) a Scheme function, rather than a Common Lisp function,
so it's not clear if it should return Scheme true/false or whether the "Scheme
boolean" should be coerced to "Lisp boolean".

In any, the right thing to do is implement listp.  The listp function is
implemented for ELisp, but in a way that may need a little bit of tweaking. 
In any case, "type predicates" and related matters are one of the main things
I'm planning on doing after Kawa 1.8 is released, so I'd rather not deal with
this now.  (I'm assuming you're just experimenting with Kawa/CL at this point,
rather than trying to do real work.)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13573>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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