DLLs and shared libraries

2004-06-13 Thread Andrei de A. Formiga
Greetings, I need to generate DLLs (in Windows) and shared libraries (in unix environments) that expose some Haskell functions (directly or through a C stub). My first option is having ghc generate the libs directly with the foreign export functions. But, searching through the documentation

Re: IO question (hGetLine)

2004-06-13 Thread Duncan Coutts
On Sun, 2004-06-13 at 23:41, Gerd M wrote: > I've written a Haskell program that reads continuously from a character > device that provides data line by line and blocks the reader when there's no > data available yet. > At the moment performance isn't a real issue so I thought I would give > hGe

IO question (hGetLine)

2004-06-13 Thread Gerd M
I've written a Haskell program that reads continuously from a character device that provides data line by line and blocks the reader when there's no data available yet. At the moment performance isn't a real issue so I thought I would give hGetLine a try. Unfortunately the program is consuming a