Jeff said:
>funky2: func ['f] [func [block] compose/deep [
> foreach element block [do composite (f) (func [x] [x
> + 3]) element]]]
funky2: func ['f][func [block] compose/deep [
foreach element block [
do composite (f)
(to-paren [func [x][x + 3]]) element
]
]
]
z: funky2 print
z [1]
4
In fact, in all these cases I will always be able to
generate the proper nesting and proper placement of
parenthesized expressions, ERGO: Rah rah!! I am the
champion!!! Trumpets blare! Confetti fills the air!! Tah
dah!
I guess I belive you, although I think that the nesting could be
arbitrarily difficult to figure out.
But in the interest of clarity, do you have a one line explanation
of why you did TO-PAREN of the second internal clause, but not
the first?
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com