#3217: Make GHCi have separate flags for interactive Haskell expressions
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:                  
        Type:  feature request   |       Status:  new             
    Priority:  normal            |    Milestone:  6.12 branch     
   Component:  Compiler          |      Version:  6.10.2          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by simonmar):

 Replying to [comment:3 claus]:

 > 4. While you're dealing with this, could you please remove the current
 inconsistency that in-source flags are not propagated to the interactive
 flags? Given module
 > {{{
 > {-# LANGUAGE PatternGuards #-}
 >
 > f x | () <- x = x
 > }}}
 > I would expect to have `PatternGuards` available when GHCi is in `*Main`
 (as opposed to `Main`), but that isn't the case:

 What do you want to happen when there are multiple modules in scope at the
 prompt?  Take the union of the flags?  What if they are contradictory?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3217#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to