12 Jan
2004
12 Jan
'04
5:53 p.m.
Tomasz Zielonka
On Sun, Jan 11, 2004 at 10:22:09PM +0100, Ferenc Wagner wrote:
It isn't suitable for exchanging bigger amounts of data between processes.
May I ask why?
Well, if you were collecting big amounts of data (like dozens of megabytes) from the child process, you would probably rather want to either: a) consume it incrementally b) store it in a more economic data structure
Of course, both can be done in Haskell. I wonder if I could change my code to abstract it away...
I remember a discussion on the Haskell list about consuming database requests. The consensus was to use some pre-fold like callbacks (proposed by Oleg?) as the most general solution for such problems. You may want to look into that. Feri.