Search found 3 matches
- Wed Sep 14, 2011 6:15 pm
- Forum: Common Lisp
- Topic: Comparing lists' values
- Replies: 4
- Views: 5447
Re: Comparing lists' values
that error made me waste so much time until now, thanks!
- Wed Sep 14, 2011 3:21 pm
- Forum: Common Lisp
- Topic: Comparing lists' values
- Replies: 4
- Views: 5447
Re: Comparing lists' values
I did and they are 5 and 2... so I don't understand why that error happens..
- Tue Sep 13, 2011 8:57 pm
- Forum: Common Lisp
- Topic: Comparing lists' values
- Replies: 4
- Views: 5447
Comparing lists' values
Hello there, I'm new to Lisp and I would like to know why this doesnt work. I have this list (compare `((something 5) (qwer 3)) 2) and im trying to compare the 5 with the 2, but I get this error Error: (5) is not of type (OR RATIONAL FLOAT). Is there anyway I can compare these two values? (defun com...