Re: Re: Re: Re: Bug Report - Two numerical values for a same variable

*To*: mathgroup at smc.vnet.net*Subject*: [mg54356] Re: [mg54324] Re: [mg54300] Re: [mg54271] Re: Bug Report - Two numerical values for a same variable*From*: DrBob <drbob at bigfoot.com>*Date*: Sat, 19 Feb 2005 02:31:59 -0500 (EST)*References*: <00ed01c512b0$2f242850$6400a8c0@Main> <curpbn$r28$1@smc.vnet.net> <200502150438.XAA29728@smc.vnet.net> <200502161936.OAA19223@smc.vnet.net> <200502171530.KAA02375@smc.vnet.net>*Reply-to*: drbob at bigfoot.com*Sender*: owner-wri-mathgroup at wolfram.com

The language IS the documentation, as they say. Bobby On Thu, 17 Feb 2005 10:30:43 -0500 (EST), Sseziwa Mukasa <mukasa at jeol.com> wrote: > On Feb 16, 2005, at 2:36 PM, Murray Eisenberg wrote: > >> The manipulations below are precisely what's so confusing about >> Rational >> objects (and Complex objects) being atoms. If >> >> 1/2 /. Rational[x_, 2] -> Rational[x, 7] >> >> works, then why not the following? >> >> Part[Rational[1, 2], 2] > > Because by definition you cannot use Part on an atom, actually the Help > Browser says you specifically can't use Map, but I assume Part is > treated like Map with respect to Atoms. On the other hand /. > apparently doesn't have the same restriction. I know it sounds pat, I > don't have a good reason for asserting Replace works differently from > Part with respect to atoms except for the fact that it does. > > Regards, > > Ssezi > > > > -- DrBob at bigfoot.com www.eclecticdreams.net

**References**:**Re: Bug Report - Two numerical values for a same variable***From:*Scott Hemphill <hemphill@hemphills.net>

**Re: Re: Bug Report - Two numerical values for a same variable***From:*Murray Eisenberg <murray@math.umass.edu>

**Re: Re: Re: Bug Report - Two numerical values for a same variable***From:*Sseziwa Mukasa <mukasa@jeol.com>