#3014: Any type being derived in Haskell 98 module
----------------------------------------+-----------------------------------
    Reporter:  fasta                    |        Owner:                  
        Type:  bug                      |       Status:  closed          
    Priority:  normal                   |    Milestone:                  
   Component:  Compiler (Type checker)  |      Version:  6.10.1          
    Severity:  normal                   |   Resolution:  wontfix         
    Keywords:  any type                 |   Difficulty:  Unknown         
    Testcase:                           |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple         |  
----------------------------------------+-----------------------------------
Changes (by simonmar):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => wontfix

Comment:

 As we discussed on IRC, this is due to monomorphic pattern bindings; use
 `-XNoMonoPatBinds` to turn them off.

 Arguably its an infelicity to see the `Any` type exposed.  However I think
 we're agreed that the right fix is to implement the Haskell' static
 semantics for pattern bindings, see #2357.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3014#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to