[racket-dev] nan?, infinite? and regular-real? [Was: Latest Plot Package]

From: Doug Williams (m.douglas.williams at gmail.com)
Date: Fri Nov 18 17:33:00 EST 2011

Mine are from the pre-r6rs days are exactly the same definitions as from
the GSL, which may differ slightly from those in r6rs. I would have to
check. They already exist in Racket in the r6rs stuff. I have no problem
with using those definitions instead of the ones from the GSL.

On Fri, Nov 18, 2011 at 12:22 PM, Ryan Culpepper <ryan at cs.utah.edu> wrote:

> On 11/18/2011 12:13 PM, Neil Toronto wrote:
>> I've moved this to dev from a private discussion with Doug, who has just
>> tried the nightly build.
>> On 11/18/2011 11:43 AM, Williams, Doug wrote:
>>> 2) The plot/utils has nan? and infinite?, which are also exported from
>>> the science collection and I had to explicitly exclude them in the
>>> require. Can we talk to the powers that be and see about getting them
>>> (and finite?) moved to racket/math? Then we can both remove them from
>>> our code. [I'm not sure about any interaction with the r6rs functions.]
>> Powers That Be, Doug and I would like `nan?' and `infinite?' to be in
>> `racket/math'.
>> I made an exact equivalent of Doug's `finite?', but called it
>> `regular-real?'. I use it in all kinds of function contracts (it returns
>> #f for non-reals). We would also like that one, with either name, in
>> `racket/math'.
> How does 'finite?' differ from 'rational?'?
> If we're making a wishlist, I'd really like '{positive,nonnegative}-{real,
> **rational}?'.
> Ryan
> ______________________________**___________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/**listinfo/dev<http://lists.racket-lang.org/listinfo/dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20111118/ec18aa4f/attachment.html>

Posted on the dev mailing list.