
#13124: Template Haskell: Floating point literals that cannot be represented by rationals -------------------------------------+------------------------------------- Reporter: lerkok | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by lerkok): @rwbarton Good point. I think it really comes down to special things like `NaN`, `Infinity` and `negative-zero` where the Rational representation just does not suffice. But perhaps that shortcoming doesn't warrant changing the AST and complicating the matters. I'm happy with a `wont-fix` decision here. This is clearly not the highest priority item in the TH story. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13124#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler