Re: [Haskell-cafe] Trouble with interact in ghci

2009-01-05 Thread Ian Lynagh
Hi Adrian On Wed, Dec 17, 2008 at 11:44:14AM +0100, Adrian Neumann wrote: I have a strange problem with interact on OS X (ghc 6.10.1). It seems to garble stdin. See the After using getContents section of http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-faq.html Thanks

[Haskell-cafe] Trouble with interact in ghci

2008-12-17 Thread Adrian Neumann
Hi, I have a strange problem with interact on OS X (ghc 6.10.1). It seems to garble stdin. I have some code here http://hpaste.org/13135#a2 , for testing purpose: *Main main 1 1.0 2 1.5 3 2.0 *Main setNonBlockingFD: invalid argument (Bad file descriptor) 11:40:45 ~/Desktop (I hit