[GHC] #14432: Outdated comment in GHC.Real

#14432: Outdated comment in GHC.Real -------------------------------------+------------------------------------- Reporter: Bodigrim | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Documentation | Version: 8.2.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Documentation Unknown/Multiple | bug Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- `GHC.Real` (lines 518-534) says: {{{ {- Rules for powers with known small exponent ... It might be desirable to have corresponding rules also for exponents of other types, in particular Word, but we can't have those rules here (importing GHC.Word or GHC.Int would create a cyclic module dependency), and it's doubtful they would fire, since the exponents of other types tend to get floated out before the rule has a chance to fire. }}} The remark about cyclic module dependency seems to be outdated: nowadays `GHC.Real` certainly has `Word` in scope. My proposal is to exclude this remark and change the paragraph to {{{ It might be desirable to have corresponding rules also for exponents of other types (e. g., Word), but it's doubtful they would fire, since the exponents of other types tend to get floated out before the rule has a chance to fire. }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14432 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14432: Outdated comment in GHC.Real -------------------------------------+------------------------------------- Reporter: Bodigrim | Owner: Bodigrim Type: bug | Status: new Priority: normal | Milestone: Component: Documentation | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): D4171 Wiki Page: | -------------------------------------+------------------------------------- Changes (by Bodigrim): * owner: (none) => Bodigrim * differential: => D4171 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14432#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14432: Outdated comment in GHC.Real -------------------------------------+------------------------------------- Reporter: Bodigrim | Owner: Bodigrim Type: bug | Status: patch Priority: normal | Milestone: Component: Documentation | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): D4171 Wiki Page: | -------------------------------------+------------------------------------- Changes (by Bodigrim): * status: new => patch -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14432#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14432: Outdated comment in GHC.Real
-------------------------------------+-------------------------------------
Reporter: Bodigrim | Owner: Bodigrim
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Documentation | Version: 8.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Documentation | Unknown/Multiple
bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): D4171
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#14432: Outdated comment in GHC.Real -------------------------------------+------------------------------------- Reporter: Bodigrim | Owner: Bodigrim Type: bug | Status: closed Priority: normal | Milestone: 8.4.1 Component: Documentation | Version: 8.2.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4171 Wiki Page: | -------------------------------------+------------------------------------- Changes (by Bodigrim): * status: patch => closed * differential: D4171 => Phab:D4171 * resolution: => fixed * milestone: => 8.4.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14432#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC