[GHC] #10134: Pattern Matching Causes Infinite Type Error

GHC ghc-devs at haskell.org
Wed Mar 4 13:07:16 UTC 2015


#10134: Pattern Matching Causes Infinite Type Error
-------------------------------------+-------------------------------------
        Reporter:  dongen            |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.8.4
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by dongen):

 It looks as if the constraint @((n-1)+1)~n@ is the cause of the error.

 Thanks to Christiaan Baaij for finding this out.

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


More information about the ghc-tickets mailing list