On 2008 Sep 14, at 20:47, Brandon S. Allbery KF8NH wrote:
On 2008 Sep 14, at 20:24, Cetin Sert wrote:
Hi why do I get?

cetin@linux-d312:~/lab/exp/1> ./eq
23
23
3
a = b = c = n1-0.8457820374040622n2-0.1542179625959377

As is typical for Unix, filehandles including standard input and standard output are line buffered.  See hSetBuffering ( http://www.haskell.org/ghc/docs/latest/html/libraries/base/System-IO.html#v%3AhSetBuffering ).

Also, looking at that path, I'm tempted to point you to http://www.haskell.org/haskellwiki/Homework_help .

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH