[REBOL] Re: a new switch-like flow-control function
From: antonr:iinet:au at: 19-Dec-2003 1:58
Thanks Joel, I think this is just what I need.
I don't think pif is a good name for it, though, it reminds
me of obscure unix commands, not very rebolish.
But what is a good name?
Perhaps something like "reselect" (because it's a bit
like a select reduce, but since that's not strictly true,
then that could confuse more..) ?
How about "any-select" ? (Guh, same problem)
Here's some ideas:
- satisfy, select-if, do-elect ...
I don't think there is a good word.
- poly-if <- that is my favourite so far.