If you want to read the literature on this topic, here's a place to start:

http://homepages.inf.ed.ac.uk/wadler/topics/blame.html

-- Dan Burton


On Thu, Mar 13, 2014 at 9:15 AM, Silvio Frischknecht <silvio.frischi@gmail.com> wrote:
Hi everyone,

It's always very annoying not knowing what could go wrong (what exceptions
might be thrown) when calling a library function. In java doc, for instance,
you can usually see what exceptions can be thrown by a specific function. I was
wondering if this could be achieved for haskell by tracing "throw" and "catch"
calls.

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