[Haskell-cafe] Re: Haskell stacktrace

Alec Berryman alec at thened.net
Tue Sep 9 18:20:49 EDT 2008


Justin Bailey on 2008-09-09 14:12:38 -0700:

> 2008/9/9 Pieter Laeremans <pieter at laeremans.org>:
> > What 's the best equivalent haskell approach ?
> > thanks in advance,
> > Pieter
>
> The preferred approach is to look at your code, figure out where you
> are using tail (or could be calling something that uses tail) and use
> the "trace" function to output logging info.

A nice way to automate that is using LocH from Hackage.  The original
announcement:

http://www.haskell.org/pipermail/haskell/2006-November/018729.html


More information about the Haskell-Cafe mailing list