[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Practical Use for "rational?" Construct



I don't see a practical use for the (rational? some-number) construct.

Given that:

	(rational? (sqrt 2))

evaluates to true, of what value can it be?  Or isn't rational as used in 
Scheme mean't to have any relation to the true arithmetic meaning of the word?
I'm confused by the "why" or the need for this construct.

Regards,
Jeff Stephens