[Haskell-cafe] program execution and laziness

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Sep 14 02:11:53 EDT 2006


Hello Tim,

Thursday, September 14, 2006, 5:32:24 AM, you wrote:
>      out <- hGetContents o
>      -- print out

> How can I force hGetContents to be strict (or at least to completely
> process the stream prior to the waitForProcess command)?

return $! last out


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list