Matthew Welland scripsit:

> What is the right way to do this? I resorted to using :

I like the definition (lambda (f) (not (= f f)), which depends on the
fact that NaN is not numerically equal to NaN.

You can define "infinite?" as (lambda (f) (= f (+ f f))).

-- 
"Well, I'm back."  --Sam        John Cowan <[EMAIL PROTECTED]>


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to