oops - I assumed find worked on the whole list, but
only works on one element.

you have to do find on each element of the block to
find it with wild chars.

something seems non-intuitive about this arrangement.
If I wanted it to do just one element, I would just give
it one element.  If I want it to seach all the elements of
the block, and use wildcards, it should allow that.

how is this supposed to work?

find "dog" "dog"
works, giving head of string

find ["dog" "cat"] "dog"
works, giving head of list

find/any "dog" "d*"
works, giving head of string

find/any ["dog" "cat"] "d*"
does not work, gives none

Q: is there any scenario at all in which /any would
do anything when you are doing find on a block ?
And if it doesn't work, why doesn't the doc warn about that?
I foolishly assumed that it would find the first element in
the block that matched the string.

-galt



Reply via email to