Hi William, Joy has a 'cleave' combinator which is like Factor's 'bi'. 'spread' was a name that Ed came up with. In the end, I think either way the names are kind of arbitrary; if you write code in Factor every day they become second nature.
Slava On Tue, Mar 31, 2009 at 3:42 PM, William Tanksley <[email protected]> wrote: > How do you people remember cleave versus spread? They seem to me to be > named the opposite of what I expect. I'd expect "cleave" to cut the > stack into multiple parts and run a function on each part, while > "spread" would take the same data and apply it to multiple parts > (spreading it thinly, as it were). > > That's clearly the wrong thing to think, though, since it's exactly > wrong. > > So what's the right way to think? > > -Wm > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------------ _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
