[Haskell-cafe] Avoiding lazy evaluation in an ErrorT computation

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Mon Jul 7 11:23:11 EDT 2008


On 2008 Jul 7, at 11:14, Tim Bauer wrote:

> My problem is that I control `doTinIO', but someone else provides
> the computation (T a). I cannot force callers to strictly evaluate
> their computations.


try (Control.Exception.evaluate ...) -- ?

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list