[GHC] #8004: Applicative/Monad proposal related warnings (AMP phase 1)

GHC ghc-devs at haskell.org
Thu Sep 12 17:25:57 CEST 2013


#8004: Applicative/Monad proposal related warnings (AMP phase 1)
-------------------------------------+------------------------------------
        Reporter:  quchen            |            Owner:  quchen
            Type:  feature request   |           Status:  new
        Priority:  high              |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------
Changes (by tibbe):

 * cc: johan.tibell@… (added)


Comment:

 We're now seeing this warning in containers, but the obvious fix (hide
 `join` from the Prelude) does silence it! I expect this module to not
 generate a warning:

 {{{
 module Foo (join) where

 import Prelude ()

 join :: ()
 join = ()
 }}}

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



More information about the ghc-tickets mailing list