[Haskell-cafe] Re: Strictness in do block
ihope127 at gmail.com
Sat Jul 8 12:17:59 EDT 2006
On 7/5/06, John Goerzen <jgoerzen at complete.org> wrote:
> On 2006-07-05, Duncan Coutts <duncan.coutts at worc.ox.ac.uk> wrote:
> > evaluate is for just that purpose.
> > evaluate (length input)
> > from the docs:
> > http://haskell.org/ghc/docs/latest/html/libraries/base/Control-Exception.html#v%3Aevaluate
> That looks like what I need, but why is it in Control.Exception instead
> of System.IO? If it were in System.IO, I would have found it.
I suppose one of its main purposes is to catch the stuff thrown by
undefined and error.
More information about the Haskell-Cafe