Hi,

On 25 April 2012 16:36, Michael Snoyman <mich...@snoyman.com> wrote:

>    Prelude.head: empty list
>

Recent versions of GHC actually generate a very helpful stack trace, if the
program is compiled with profiling turned on and run with -xc.

See: http://community.haskell.org/~simonmar/slides/HIW11.pdf(Ironically
titled "Prelude.head: empty list")

HTH,
Ozgur
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to