[GHC] #9127: Don't warn about pattern-bindings of the form `let !_ = rhs`

GHC ghc-devs at haskell.org
Mon May 26 18:40:01 UTC 2014


#9127: Don't warn about pattern-bindings of the form `let !_ = rhs`
-------------------------------------+------------------------------------
        Reporter:  refold            |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.8.2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by igloo):

 This sounds a little odd to me. What's the actual use-case here? A test
 that the parameter parser doesn't thrown an exception?

 Unless there's a common reason for wanting to do this, I think it would be
 better for people who really want to do this to have to use `seq` or
 `!_rqPostParams = ...` instead.

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


More information about the ghc-tickets mailing list