[ ghc-Bugs-1069656 ] ghc-ghci inconsisteny

SourceForge.net noreply at sourceforge.net
Fri Nov 19 14:57:32 EST 2004


Bugs item #1069656, was opened at 2004-11-19 20:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1069656&group_id=8032

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nightmare (goronsf)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghc-ghci inconsisteny

Initial Comment:
The following program has different semantics in ghc
and ghci. 

main = do putStrLn "something"
                  putStr "something else" 

It's the linebuffering. NoLineBuffering should be used
on expressions without side-effects. 

So 5*5 should print immediately, and do putStrLn
"something" should behave the same in both
applications. How doesn't matter that much to me, but
they should be the same. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1069656&group_id=8032



More information about the Glasgow-haskell-bugs mailing list