
#8697: Type rationals -------------------------------------+------------------------------------ Reporter: MikeIzbicki | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by carter): so lets decouple this a teeny bit: a) having good syntactic support for writing numerical literals at the type level: Integers, Nats, Rationals (possibly with floating point style notation) b) having a satisfactory type model underneath that supports the computations you want to do. currently in GHC those two are conflated, and perhaps they should be decoupled! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8697#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler