MathGroup Archive 2005

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

Search the Archive

this is ridiculous...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61798] this is ridiculous...
  • From: Chris Chiasson <chris.chiasson at gmail.com>
  • Date: Sun, 30 Oct 2005 00:43:33 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Can anyone replicate the pattern replacement problem I am having with Equal?

Cell[CellGroupData[{Cell[BoxData[{
    RowBox[{
      RowBox[{"Equal", "[",
        RowBox[{"d", ",", "2"}], "]"}], "/.",
      RowBox[{
        RowBox[{"Equal", "[", "x__", "]"}], "\[RuleDelayed]",
        RowBox[{"tree", "[", "x", "]"}]}]}], "\[IndentingNewLine]",
    RowBox[{
      RowBox[{"willow", "[",
        RowBox[{"d", ",", "2"}], "]"}], "/.",
      RowBox[{
        RowBox[{"willow", "[", "x__", "]"}], "\[RuleDelayed]",
        RowBox[{"tree", "[", "x", "]"}]}]}], "\[IndentingNewLine]",
  "$Version"}], "Input",
  CellLabel->"In[1]:="],

Cell[BoxData[
    RowBox[{"d", "\[Equal]", "2"}]], "Output",
  CellLabel->"Out[1]="],

Cell[BoxData[
    RowBox[{"tree", "[",
      RowBox[{"d", ",", "2"}], "]"}]], "Output",
  CellLabel->"Out[2]="],

Cell[BoxData["\<\"5.2 for Microsoft Windows (June 20, 2005)\"\>"], \
"Output",
  CellLabel->"Out[3]="]
}, Open  ]]

--
http://chrischiasson.com/contact/chris_chiasson


  • Prev by Date: SymbolName question
  • Next by Date: Re: Re: GreaterEqual[x,1] shows up as Greater[x,1]
  • Previous by thread: Re: SymbolName question
  • Next by thread: Re: this is ridiculous...