Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - bfulgham

#1
newLISP in the real world / Strange predicate behavior?
September 16, 2004, 05:56:27 PM
If I do this:


> (integer? 25)
true


So far, so good.  but what about:


> (integer? (sqrt 25))
nil


Huh?  Am I doing something wrong?  It's almost as though integer?

is evaluateing the sqrt function, rather than the result of the function.



Am I misunderstanding how newLisp evaluates data?