#7044: reject reading rationals with exponent notation
-------------------------------+--------------------------------------------
  Reporter:  maeder            |          Owner:                  
      Type:  bug               |         Status:  new             
  Priority:  normal            |      Milestone:                  
 Component:  Compiler          |        Version:  7.4.2           
Resolution:                    |       Keywords:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |     Difficulty:  Unknown         
  Testcase:                    |      Blockedby:                  
  Blocking:                    |        Related:  #5692           
-------------------------------+--------------------------------------------
Changes (by maeder):

  * status:  closed => new
  * resolution:  duplicate =>


Comment:

 It's not the same issue. "1E1000000000" can be easily converted to the
 Double "Infinity", whereas this is not possible for rationals. Therefore
 even

 {{{
 main = print (1E10 :: Rational)
 }}}

 should fail as it does for integers!

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7044#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to