logo       

[ ghc-Bugs-1069656 ] ghc-ghci inconsisteny: msg#00027

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1069656 ] ghc-ghci inconsisteny

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise