From: hadley wickham Date: 2007-09-16T00:39:23+09:00 Subject: Re: will we have rand(m, n)? On 9/15/07, Austin Ziegler wrote: > On 9/15/07, kendear wrote: > > given the ease of using Ruby, I wonder whether we will have rand(m, n) in > > the future... > > > > right now, we need to use rand(range) + start > > > > and it can cause a bug that can otherwise be avoided if we have rand(m, n) > > for the clarity. > > Why not instead suggest rand(m..n)? That would, I think, be more > readable than rand(m, n). But would that draw discrete or continuous random numbers? Hadley