On Thu, 19 Sep 2002 21:28:31 +0100
Duncan Coutts <[EMAIL PROTECTED]> wrote:
>
> See unsafeInterleaveIO:
Thanks for help, I'm going to look at it.
Vincenzo
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskel
On Thu, 19 Sep 2002 22:06:59 +0200
Nick Name <[EMAIL PROTECTED]> wrote:
> In general, how does one implement a function like "getChanContents"
> wich returns an infinite list? Tell me just some pointer to information
> of course, I don't want an entire functional programming lesson :)
See unsafe
How could I "zip" two possibily infinite streams obtained by IO
operations, for example to return the infinite list of pairs of values
read both from channel a and from channel b with getChanContents?
In general, how does one implement a function like "getChanContents"
wich returns an infinite l