[GHC] #1877: Change the meaning of -fextended-default-rules

GHC trac at galois.com
Mon Nov 12 10:26:14 EST 2007


#1877: Change the meaning of -fextended-default-rules
-------------------------+--------------------------------------------------
    Reporter:  simonmar  |       Owner:             
        Type:  task      |      Status:  new        
    Priority:  normal    |   Milestone:  6.10 branch
   Component:  GHCi      |     Version:  6.8.1      
    Severity:  normal    |    Keywords:             
  Difficulty:  Unknown   |    Testcase:             
Architecture:  Unknown   |          Os:  Unknown    
-------------------------+--------------------------------------------------
 Currently `-fextended-default-rules` applies to source code modules.  GHCi
 has the extended defaulting behaviour by default for expressions typed at
 the prompt, and there's no way to change that.

 We propose the following change: extended defaulting would only ever apply
 to expressions typed at the GHCi prompt, and it would be disabled with
 `-fno-extended-default-rules` (on by default).

 See also #1200, where `-fextended-default-rules` was introduced.

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


More information about the Glasgow-haskell-bugs mailing list