Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Antwort: Re: WYSIWYG programming

From: joel:neely:fedex at: 30-Oct-2000 10:59

Hi, Jeff, [rebol-bounce--rebol--com] wrote:
> > > > Please, instead of repeating "There's a reason", say what > > it is! > > I did in the parts you elided! :) >
Obviously, as a Bear of Small Brain, I need more explicit examples.
> Here's one example: > > foo: [1 2 3 4 5 6 7 8] > forall foo [ > if 1 = random length? foo [break] > ] > insert x 12 > > Forall may leave before the end. You will destroy > information if you always reset the series to the head.
OK. I can understand that, and accept it as a rationale for having a difference in behavior. Thanks! (As I'm probably not the only Bear of Small Brain in the Hundred-REBOL Woods, this explanation of why there's a difference would make a good addition to the docs.)
> A good suggestion people have offered is a refinement to > forall that would reset the series when done: > > forall/reset series >
That sounds -- in context ;-) -- like a good compromise. Thanks! -jn- -- ; Joel Neely [joel--neely--fedex--com] 901-263-4460 38017/HKA/9677 REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip do function [s] [t] [ t: "" foreach [a b] s [repend t [b a]] t ] { | e s m!zauafBpcvekexEohthjJakwLrngohOqrlryRnsctdtiub} 2 ]