[GHC] #14249: ApplicativeDo: Pattern matching on a bind forces a Monad constraint

GHC ghc-devs at haskell.org
Mon Sep 18 23:42:12 UTC 2017


#14249: ApplicativeDo: Pattern matching on a bind forces a Monad constraint
-------------------------------+--------------------------------------
        Reporter:  mutantmell  |                Owner:  (none)
            Type:  bug         |               Status:  new
        Priority:  normal      |            Milestone:
       Component:  Compiler    |              Version:  8.2.1
      Resolution:              |             Keywords:  ApplicativeDo
Operating System:  Linux       |         Architecture:  x86_64 (amd64)
 Type of failure:  Other       |            Test Case:
      Blocked By:              |             Blocking:
 Related Tickets:              |  Differential Rev(s):
       Wiki Page:              |
-------------------------------+--------------------------------------

Comment (by mutantmell):

 Adding the `~` to my pattern match changes the constraint, so it looks
 like it is due to #13875.

 I'll close the bug.

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


More information about the ghc-tickets mailing list