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

GHC ghc-devs at haskell.org
Sat Mar 7 06:30:19 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 ekmett):

 FWIW- This started breaking some pre-existing code:

 https://hackage.haskell.org/package/semigroupoids-1.2.6/docs/src/Data-
 Functor-Alt.html#some

 Would having `FlexibleContexts`  imply `ConstrainedClassMethods` as well
 also be too much to ask?

 Otherwise I'm going to have to start putting CPP around the set of
 directives for the module.

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


More information about the ghc-tickets mailing list