[REBOL] Re: Question and comment about randomizing a block of values
From: joel:neely:fedex at: 20-Jun-2001 15:28
Hi, nop,
Hmmm... The REBOL equivalent of "Where's Waldo?" could be
until [
find "jeff" foreach x head insert/dup "" "nop" 4 [
append "" to-char 32 + random x - 32
]
]
nop wrote:
> Huh, I could have sworn one of the changes docs listed at least
> RANDOM/only...
> I just didn't realize people didn't know about it. :-)
>
Seriously, thanks for bringing it up. My apologies for sounding
grumpy!
I really would like to figure out some way to increase the
bandwidth (and I don't mean to sound like I'm beating up on
RT for not doing more!) For example...
In REBOL/Zine/1 Carl referred to running regression tests after
doing a new build. I assume that means there's a test suite
evaluates a largish pile of expressions and verifies that each
yields the expected value. Assuming that's true...
If RT could make those tests available in some fashion, they
would make a wonderful addition to the "use the source, Luke"
story! If one wanted to know how a function was supposed to
behave, the effect of a refinement, etc. one could look at
(or run) the appropriate tests for a real-life "here's what
we intended" sample.
I'd be very happy to try to take some of the less obvious ones
and write descriptions for what's going on and why, and I'm
sure I'm not alone in that. The quid pro quo is that RT gives
us (the community) a little more (existing) information, and
we add value to it for RT and the community. I'd also be very
happy to write additional tests, both for reference and
regression purposes.
I'm open to any other ideas that involve shared effort for
common benefit (as long as I don't have to write anything in
The Language That Must Not Be Named! ;-)
--
It's turtles all the way down!
joel'dot'neely'at'fedex'dot'com