Jason Dusek <jason.du...@gmail.com> wrote: > 2009/04/21 Manlio Perillo <manlio_peri...@libero.it>: > > Luke Palmer ha scritto: > >> And many other permutations, with differing degrees of > >> laziness and parametericity. > > > > As long as you stricly read a string from the socket, this is > > ok. But you can not read a string lazily. > > Why not? It changes the way in which the program fails (if it > does) but it does not change the result. > Reading a socket lazily has exactly the same result as strictly reading a socket that isn't sent any data. In network programming, you continuously have to drain your input.
-- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe