On 2006-07-05, Duncan Coutts <[EMAIL PROTECTED]> wrote: >> What I have done in the past is to take the length of the string, and >> test the length in some way - although I guess you could call seq on >> the length. > > 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. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
