Re: Why does MatchQ[f[a][b],_f] return False?

*To*: mathgroup at smc.vnet.net*Subject*: [mg46325] Re: Why does MatchQ[f[a][b],_f] return False?*From*: drbob at bigfoot.com (Bobby R. Treat)*Date*: Sat, 14 Feb 2004 04:38:00 -0500 (EST)*References*: <c0k3ba$8i6$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Head[f[a][b]] f[a] MatchQ[f[a][b], _f[_]] True Bobby semorrison_ at hotmail.com (Scott Morrison) wrote in message news:<c0k3ba$8i6$1 at smc.vnet.net>... > What's going on here? How can I match for patterns like this? > > Thanks, Scott Morrison > (scott at-sign math dot berkeley dot edu)