[GHC] #7854: Constrained method type accepted in Haskell 98 mode

GHC ghc-devs at haskell.org
Mon Mar 9 14:25:41 UTC 2015


#7854: Constrained method type accepted in Haskell 98 mode
-------------------------------------+-------------------------------------
        Reporter:  refold            |                   Owner:  thomie
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Compiler (Type    |                 Version:  7.6.3
  checker)                           |                Keywords:  newcomer
      Resolution:  fixed             |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |  module/mod39
 Related Tickets:  #10118, #10119    |                Blocking:
                                     |  Differential Revisions:  Phab:D688
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Herbert's point is a good one.

 But it would not be impossible to make `FlexibleContext` also imply
 `ConstrainedClassMethods`, if that was vastly better.

 Simon

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


More information about the ghc-tickets mailing list