[Haskell-beginners] Re: Catching Exceptions in Haskell
Bjoern Brandenburg
bbb.lst at gmail.com
Sat Feb 28 19:48:19 EST 2009
Ok, so I was able to extract a simpler program with the same symptoms.
http://hpaste.org/fastcgi/hpaste.fcgi/view?id=1900#a1900
Apparently the exception is only triggered when m is used in line 31.
So I guess that evaluate in line 24 is not causing strict evaluation
of the Data.Binary.Get monad, even though it is working for the error
and assert tests.
Why is that? Is that expected? If so, what am I doing wrong?
Thanks,
Bjoern
More information about the Beginners
mailing list