[GHC] #8782: Using GADT's to maintain invariant in GHC libraries

GHC ghc-devs at haskell.org
Fri Aug 22 14:00:29 UTC 2014


#8782: Using GADT's to maintain invariant in GHC libraries
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:
  Iceland_jack                       |           Status:  infoneeded
                  Type:  task        |        Milestone:  7.10.1
              Priority:  lowest      |          Version:  7.9
             Component:  Compiler    |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 Can we keep `foldlOL` and `foldrOL`? The GHC source tends to prefer
 monomorphic functions over polymorphic ones when the polymorphism is not
 needed. (See for example Simon's email [http://www.haskell.org/pipermail
 /ghc-devs/2014-August/006081.html here].)

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


More information about the ghc-tickets mailing list