MathGroup Archive 2009

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

Search the Archive

Re: (2/3)[[1]]

On 2/12/09 at 6:33 AM, obott0 at wrote:

>I'm not sure if this has been asked before, but why can't Part be
>used with Rational?

>i.e. (2/3)[[1]]

Because Rational is an atomic element. That is

In[9]:= AtomQ[2/3]

Out[9]= True

  • Prev by Date: Bug in Limit
  • Next by Date: Re: (2/3)[[1]]
  • Previous by thread: Re: (2/3)[[1]]
  • Next by thread: Re: (2/3)[[1]]