On Sat, Mar 4, 2017 at 6:21 AM, John Clements <cleme...@brinckerhoff.org>
> > On Mar 2, 2017, at 3:00 PM, Daniel Prager <daniel.a.pra...@gmail.com>
> > While we're at it, please allow negative arguments too, to allow for
> cases such as
> > (random -100 100)
> Well, that’s different; that’s actually changing the implementation. I’m
> not proposing that…
The implementation looks fine to me. In pre-base.rkt the relevant lines
should work fine with -ve arguments as long as the inequality constraint
(+ x (random (- y x))) with x=-100, y=100
-> (+ -100 (random 200))
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.