#5775: Inconsistency in demand analysis
---------------------------------+------------------------------------------
    Reporter:  rl                |       Owner:                         
        Type:  bug               |      Status:  new                    
    Priority:  normal            |   Milestone:  7.4.2                  
   Component:  Compiler          |     Version:  7.5                    
    Keywords:                    |          Os:  Unknown/Multiple       
Architecture:  Unknown/Multiple  |     Failure:  Runtime performance bug
  Difficulty:  Unknown           |    Testcase:                         
   Blockedby:                    |    Blocking:                         
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by igloo):

 Should `bindIO` use `lazy`, something like:
 {{{
 bindIO (IO m) k = IO $ \ s -> case m s of (# new_s, a #) -> unIO (lazy (k
 a)) new_s
 }}}
 or would that be too pessimistic?

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