MathGroup Archive 2009

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

Search the Archive

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



Hi,

Rational is a base type and is treated as an atom:

AtomQ[2/3]

It is similar to e.g. Integer[2]

Daniel



obott0 at gmail.com 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]]

> 

> Thanks.

> 




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