[REBOL] compose?? Re:(2)

1999-11-13 Thread robert . muench
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 12, 1999 4:31 PM > To: [EMAIL PROTECTED] > Subject: [REBOL] Re: compose?? > ## a: 1 > == 1 > ## compose [(a + 1) [(a + 2)]] > == [2 [(a + 2)]] > ## compose/deep [(a + 1) [(a + 2)]] > == [2 [

[REBOL] compose?? Re:(2)

1999-11-12 Thread robert . muench
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 12, 1999 4:01 PM > To: [EMAIL PROTECTED] > Subject: [REBOL] compose?? Re: > Almost there, you're just using square brackets"[" instead of > parens &

[REBOL] compose?? Re:

1999-11-12 Thread allenk
quot;] Without deep compose [(test) [(bla)] (bla) bla (test)] == ["Hi" [(bla)] "There" bla "Hi"] With deep >> compose/deep [(test) [(bla)] (bla) bla (test)] == ["Hi" ["There"] "There" bla "Hi"] >> Cheers, Al

[REBOL] compose??

1999-11-12 Thread robert . muench
Hi, just playing around with 'compose. I thought it would be a cool thing to use, to flatten nested blocks into one level. So I tried: >> help compose Selectively evaluates a block of expressions, only evaluating paren expressions and returns the result as a block. Arguments: value -- Block t