#3454: ghci freezes on failed pattern match in recursive list comprehension
---------------------------------+------------------------------------------
    Reporter:  Syzygies          |        Owner:                  
        Type:  bug               |       Status:  closed          
    Priority:  normal            |    Milestone:                  
   Component:  Compiler          |      Version:  6.10.4          
    Severity:  normal            |   Resolution:  invalid         
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => invalid

Comment:

 The 7th element of cs is the tail of the first non-empty element after the
 5th element of xs.

 The 6th element is [], so that one can't be used.

 So we need to look at whether or not the 7th element is [].

 Thus this is a black hole.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3454#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to