> The proposal was to change the * forms as follows:
>
> a b c X Y 2bi* => a c X b c Y
> a b c d X Y Z 2tri* => a d X b d Y c d Z
> x1 x2 x3 ... xn { F1 F2 F3 ... Fn-1 } 2spread => x1 xn F1 x2 xn F2 x3
> xn F3 ... xn-1 xn Fn-1
>
> So the double spreaders would always apply a quotation to two stack
> values, where the first ranges over a set of values and the second is
> the top of the stack. It seems to be consistent to me.
>
> As far as I can tell, all the usages of 2bi* in core/ and extra/ are
> preceded by tuck, so the current 2bi*/2tri*/2cleave behavior is not as
> useful as the above would be.That's a good point, Slava. If we went with your scheme we could have words "2spread*", "3spread*" , etc. that maintain the current spread behavior when it's needed. Because of their rarity, those new words could probably do without corresponding "bi"/"tri" shorthand forms. -Joe ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
