[racket-dev] [racket] Question about round

From: Doug Williams (m.douglas.williams at gmail.com)
Date: Fri Sep 30 14:33:46 EDT 2011

And, how about adding finite? and its ilk from r6rs into #lang racket. I
have them in science/math, but they are probably core level routines. I had
mentioned before that we probably should see what from science/math might be
more useful in the core.

On Fri, Sep 30, 2011 at 12:22 PM, Vincent St-Amour <stamourv at ccs.neu.edu>wrote:

> At Fri, 30 Sep 2011 11:31:47 -0500,
> Robby Findler wrote:
> > Just to clear up one more possible point: the rational? predicate
> > actually recognizes inexact numbers, eg:
> >
> > [robby at penghu] ~/git/plt/collects/drracket/private$ racket
> > Welcome to Racket v5.1.3.9.
> > > (rational? (sqrt 2))
> > #t
>
> This is probably less problematic than `integer?', since `rational?'
> is (I assume) less used. But this is the same problem.
>
> If we decide to change one, we should change both.
>
> Vincent
> _________________________________________________
>  For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110930/71c42739/attachment.html>

Posted on the dev mailing list.