[GHC] #11243: Use Type Synonyms to Compress Errors

GHC ghc-devs at haskell.org
Thu Dec 17 18:20:08 UTC 2015


#11243: Use Type Synonyms to Compress Errors
-------------------------------------+-------------------------------------
        Reporter:  crockeea          |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
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 crockeea):

 I believe both of the major replicated blocks are due to type families.
 The `PrimePower` block is due to singletons, which makes heavy use of type
 families. Ideally, it would say something more like `PrimePower (PP (N7,
 N1))`. The `NextListElt` block also comes from a type family: while the
 type list itself is a simple type synonym, `NextListElt` is a type family.
 In that case, I'd like to see `NextListElt * zq MyTypeList`.

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


More information about the ghc-tickets mailing list