[GHC] #17: Separate warnings for unused local and top-level bindings

GHC ghc-devs at haskell.org
Wed Jun 4 19:31:44 UTC 2014


#17: Separate warnings for unused local and top-level bindings
-----------------------------------+---------------------------------------
        Reporter:  magunter        |            Owner:
            Type:  feature         |           Status:  new
  request                          |        Milestone:  ⊥
        Priority:  lowest          |          Version:  None
       Component:  Compiler        |         Keywords:  -fwarn-unused-binds
      Resolution:  None            |     Architecture:  Unknown/Multiple
Operating System:                  |       Difficulty:  Unknown
  Unknown/Multiple                 |       Blocked By:
 Type of failure:  None/Unknown    |  Related Tickets:
       Test Case:                  |
        Blocking:                  |
-----------------------------------+---------------------------------------

Comment (by errge):

 Note that you can simply prefix those "used from GHCi only top-level
 bindings" with an underscore as a workaround until this gets implemented.

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


More information about the ghc-tickets mailing list