Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

ReplaceAll strange behaviour

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9312] ReplaceAll strange behaviour
  • From: Gadi Oron <oron at manet.pmmh.espci.fr>
  • Date: Mon, 27 Oct 1997 02:47:26 -0500
  • Organization: Acces regional Ile-de-France (Univ. Paris VI/VII) - France
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,

Can anybody enlighten me with the following strange result?

In:=  {{1,2},{2,3}} /. {x_ /; Head[x]!=List,y_}:> Circle[{x,y},1] Out:=
{{1,2},{2,3}}

???!!!!

Am I missing anything?

Thanx.
\/\\/\/\/>> Gadi ORON <<\/\/\/\/       o       o
                                        \_____/
  EMAIL :  oron at pmmh.espci.fr           /=O=O=\     _______
  Soyez braves - Be brave              /   ^   \   /\\\\\\\\
                                       \ \___/ /  /\   ___  \
                                        \_   _/  /\   /\\\\  \
                                          \  \__/\   /\ @_/  /
                                           \____\____\______/
  Homepage : http://www.pmmh.espci.fr/~oron/personal.html




  • Prev by Date: redefining 0^0 for BinomialDistribution?
  • Next by Date: Re: Newbie question: big matrix calculations
  • Previous by thread: redefining 0^0 for BinomialDistribution?
  • Next by thread: Re: Newbie question: big matrix calculations