
6 Dec
2004
6 Dec
'04
10:25 a.m.
Hi, is there a way to force the "full" evaluation of a value (unless seq, which only brings the term to WHNF)? In my case, I have an algebraic data type Foo, and I would like to catch the exceptions that will occur during the evaluation of a value of Foo, for something like: foo <- force makeFoo `catch` \e -> defaultFoo Thanks, Michael PS: Ooops, posted this to haskell-ml first.
7472
Age (days ago)
7472
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ben Rudiak-Gould
-
Michael Walter