Next: , Up: built-in numerics rational   [Contents][Index]


6.13.6.1 The <rational> type

Core Type: <rational>
Parent Type: <rational-valued>

Type of rational values.

Constructor on <rational>: <rational> type-constructor obj

Validate obj as object of type <rational> and return it.

Type predicate on <rational>: <boolean> type-predicate obj

The type predicate is rational?. Return #t if obj is a <rational> object, otherwise return #f.