
9 Sep
2008
9 Sep
'08
8:35 p.m.
Woops , I hit the "send" button to early.
The java approach to locate the error would be
try { ... }catch(Exception e ){
// log error
throw new RuntimeException(e);
}
...
What 's the best equivalent haskell approach ?
thanks in advance,
Pieter
On Tue, Sep 9, 2008 at 10:30 PM, Pieter Laeremans
Hello, I've written a cgi script in haskell, it crashes sometimes with the error message Prelude . tail : empty list
In Java we would use this approach to log the erro
try {
} catch (Exception e) {
}
-- Pieter Laeremans
"The future is here. It's just not evenly distributed yet." W. Gibson
--
Pieter Laeremans