Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Bug in Pattern Matching with Condition?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97137] Bug in Pattern Matching with Condition?
  • From: cesar <caguerra at gmail.com>
  • Date: Fri, 6 Mar 2009 04:24:52 -0500 (EST)

Hi Mathematica group, do you get any idea of
why the following sentences don't give true?

MatchQ[Condition[a, b], Condition[_,_]]
MatchQ[Condition[a, b], Condition[__]]
MatchQ[Condition[a, b], HoldPattern[Condition[__]]]

Is this a bug?

Cheers,
Cesar


  • Prev by Date: Re: Head logic
  • Next by Date: Creating own typesetting palettes
  • Previous by thread: Problem of evaluate Numerically Eigensystem in Nminimize
  • Next by thread: Re: Bug in Pattern Matching with Condition?