[GHC] #14059: COMPLETE sets don't work at all with data family instances

GHC ghc-devs at haskell.org
Thu Sep 21 14:58:42 UTC 2017


#14059: COMPLETE sets don't work at all with data family instances
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
                                     |  PatternSynonyms,
                                     |  PatternMatchWarnings
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 https://ghc.haskell.org/trac/ghc/ticket/14135#comment:9 offers some peace
 of mind for one problem I encountered in comment:2 (where I bemoaned the
 fact that I can only write `{-# COMPLETE SFalse, STooGoodToBeTrue :: Sing
 #-}` (and not `{-# COMPLETE SFalse, STooGoodToBeTrue :: Sing (z :: Bool)
 #-}`).

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


More information about the ghc-tickets mailing list