path evaluation feature request
[1/2] from: anton:lexicon at: 29-May-2002 1:35
Hello rebols,
Is this a bad feature request?
Would it be good if a path such as this:
case: true
find/match/:case file "key"
would be the equivalent of this:
find/match/case file "key"
and
case: none
find/match/:case file "key"
would be the equivalent of this:
find/match file "key"
The case refinement having been swallowed up.
Then you could avoid code like this:
either case [
find/any/match/tail/case ...
][
find/any/match/tail ...
]
??
Anton.
[2/2] from: al::bri::xtra::co::nz at: 2-Jun-2002 10:52
I think that Anton's suggestion is really great.
If we're voting, this is my "YES!" vote.
Andrew Martin
ICQ: 26227169 http://valley.150m.com/