[Haskell-cafe] Re: Strictness in do block
jgoerzen at complete.org
Wed Jul 5 09:07:14 EDT 2006
On 2006-07-05, Duncan Coutts <duncan.coutts at worc.ox.ac.uk> 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:
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.
More information about the Haskell-Cafe