MatchQ
- To: mathgroup at christensen.cybernetics.net
 - Subject: MatchQ
 - From: wself at viking.emcmt.edu (Will Self)
 - Date: Sat, 22 Oct 94 19:00:36 -0600
 
Does anyone have a version of MatchQ that returns the bindings of the
pattern variables in addition to the basic True or False?
Maybe something like:
In[1]:= newMatchQ[4,x_]
Out[1]= {True, {x->4}}
Will Self
Billings, Montana