MathGroup Archive 1997

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

Search the Archive

ReplaceAll strange behaviour


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