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
<pieter@laeremans.org> wrote:
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 <
pieter@laeremans.org>
"The future is here. It's just not evenly distributed yet." W. Gibson
--
Pieter Laeremans <
pieter@laeremans.org>
"The future is here. It's just not evenly distributed yet." W. Gibson