[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wildcards



my preference is, when you're in control of the mechanism, don't use
eval and quoting, but pass around lambdas that do the matching.  that
is, instead of using

	'*' or '*\^' or 'foo*bar'

use
	{~ $* *} or {~ $* *'^'}  or {~ $* foo*bar}

that way the user of the function can use things other than pattern
matching if he (she?  are there currently any female es users? :-)
wants to.  for example, access is very useful in such cases.

paul