MathGroup Archive 2002

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

Search the Archive

Strange ReplaceAll behavior


Hi,

For the life of me I am not sure why the following is not working in my 
v. 4.2:

ru[a]=a->x;
f[x_]:=(a+b) /. ru[a];

Why do I get
f[c] = b+x

and not
f[c] = b+c?

What gives?

Thanks,
Lawrence

-- 
Lawrence A. Walker Jr.
http://www.kingshonor.com


  • Prev by Date: Re: Questions on Plot
  • Next by Date: Printing Scripts
  • Previous by thread: RE: pdf export
  • Next by thread: RE: Strange ReplaceAll behavior