#3053: Modular arithmetic bug?
----------------------+-----------------------------------------------------
 Reporter:  vlaad     |          Owner:         
     Type:  bug       |         Status:  closed 
 Priority:  normal    |      Milestone:         
Component:  GHCi      |        Version:  6.10.1 
 Severity:  critical  |     Resolution:  invalid
 Keywords:            |       Testcase:         
       Os:  Windows   |   Architecture:  x86    
----------------------+-----------------------------------------------------
Comment (by augustss):

 Why are you discouraged by ghc?  What you reported is not a bug and all
 Haskell implementations will give you the same answer.

 To put it another way, of you have a list comprehension [ e | x <- gen,
 ... ] and you look at the resulting list then the result list will only
 ever end when the generator (gen) gets to the end of its list.  This is
 according to the definition of Haskell and has nothing to do with ghc.

 If you want a language where list comprehensions behave in some other way,
 then you'll have to look elsewhere.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3053#comment:9>
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