[GHC] #2893: Implement "Quantified constraints" proposal

GHC ghc-devs at haskell.org
Fri Mar 2 11:24:20 UTC 2018


#2893: Implement "Quantified constraints" proposal
-------------------------------------+-------------------------------------
        Reporter:  porges            |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  ⊥
       Component:  Compiler          |              Version:  6.10.1
      Resolution:                    |             Keywords:
                                     |  QuantifiedConstraints
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #5927             |  Differential Rev(s):  Phab:D4353
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 `f` should have an `Ord a` constraint right?


 {{{#!hs
 f :: (Ord a, forall x. Ord x => Ord (m x)) => m a -> m a -> Bool
 }}}

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


More information about the ghc-tickets mailing list