[GHC] #7595: Static flags code needs cleanup

GHC cvs-ghc at haskell.org
Tue Jan 29 20:46:52 CET 2013


#7595: Static flags code needs cleanup
-------------------------------+--------------------------------------------
  Reporter:  jstolarek         |          Owner:                  
      Type:  task              |         Status:  new             
  Priority:  high              |      Milestone:  7.8.1           
 Component:  Driver            |        Version:  7.7             
Resolution:                    |       Keywords:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |     Difficulty:  Unknown         
  Testcase:                    |      Blockedby:                  
  Blocking:                    |        Related:                  
-------------------------------+--------------------------------------------

Comment(by simonmar):

 Replying to [comment:8 jstolarek]:
 > Without .hs-boot there are cyclic module dependencies. Perhaps it would
 be possible to move around a couple of functions from one module to
 another and remove the cycle in this way but I fear this would cause more
 harm than good.

 Right, the idea is to structure the code so that there is no cycle.
 That's why occasionally you'll see things in a strange-looking place, it's
 to avoid a cycle.  Cycles (with `.hs-boot` files) mean less optimisation,
 and overall a more complex and hard-to-modify codebase.

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



More information about the ghc-tickets mailing list