#887: GHCi prints results of IO actions
----------------------+-----------------------------------------------------
  Reporter:  guest    |          Owner:       
      Type:  bug      |         Status:  new  
  Priority:  normal   |      Milestone:       
 Component:  GHCi     |        Version:  6.5  
  Severity:  normal   |     Resolution:       
  Keywords:           |             Os:  Linux
Difficulty:  Unknown  |   Architecture:  x86  
----------------------+-----------------------------------------------------
Comment (by duncan):

 Would it be possible to distinguish based on the syntax?

 {{{
 content <- getContents
 }}}

 would not print anything, but

 {{{
 getContents
 }}}

 would print. That seems reasonably intuitive to me.

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