![[LISPWORKS]](/image.pl?url=http%3a%2f%2fwww.lispworks.com%2fdocumentation%2fHyperSpec%2fBody%2f..%2fGraphics%2fLWSmall.gif&f=jpg&w=240)
![[Common Lisp HyperSpec (TM)]](/image.pl?url=http%3a%2f%2fwww.lispworks.com%2fdocumentation%2fHyperSpec%2fBody%2f..%2fGraphics%2fCLHS_Sm.gif&f=jpg&w=240)
Class Precedence List:
Description:
The canonical representation of arational is as aninteger if its value is integral, and otherwise as aratio.
Thetypesinteger andratio aredisjointsubtypes oftyperational.
Compound Type Specifier Kind:
Abbreviating.
Compound Type Specifier Syntax:
rational[lower-limit[upper-limit]]
Compound Type Specifier Arguments:
lower-limit,upper-limit---interval designators fortyperational. The defaults for each oflower-limit andupper-limit is thesymbol*.
Compound Type Specifier Description:
This denotes therationals on the interval described bylower-limit andupper-limit.