On 7/5/06, John Goerzen <[EMAIL PROTECTED]> wrote:
On 2006-07-05, Duncan Coutts <[EMAIL PROTECTED]> 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.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe