[project @ 2002-06-09 14:20:06 by panne]
authorpanne <unknown>
Sun, 9 Jun 2002 14:20:06 +0000 (14:20 +0000)
committerpanne <unknown>
Sun, 9 Jun 2002 14:20:06 +0000 (14:20 +0000)
commitf87bde0dac8cf94db5b8cdac37c73c83fa7e0433
tree4a5a14ccb72ddc646bb191d768c48f5710ace09a
parent810d9b3d5b5f0c803903ffec6a2f35ab7cbefcb2
[project @ 2002-06-09 14:20:06 by panne]
Use :%, not % for Inf/NaN, the latter would immediately lead to a
runtime error. Note that

   isInfinite (read "Infinity" :: Float)

or

   isInfinite (fromRational (1 :% 0))

still don't work, because fromRational is not OK for those cases.
Text/Read/Lex.hs