[Haskell-beginners] Exception back trace

Michael Snoyman michael at snoyman.com
Sun Dec 5 15:36:25 CET 2010


You might want to try out monadloc[1] and control-monad-exception[2],
which provide some monadic stack traces via a preprocessor.

Michael

[1] http://hackage.haskell.org/package/monadloc
[2] http://hackage.haskell.org/package/control-monad-exception

On Sun, Dec 5, 2010 at 2:49 AM, Russ Abbott <russ.abbott at gmail.com> wrote:
> Hi,
> I am in the midst of debugging and got an exception:
>
> *** Exception: Prelude.minimum: empty list
>
> That's all it said.  There was no information about where the exception
> occurred. Is it possible to ask for more information, preferably including a
> stack trace?
> Thanks.
>
> -- Russ
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>



More information about the Beginners mailing list