haskell-cafe@haskell.org
[Top] [All Lists]

Re: [Haskell-cafe] Prelude.undefined

Subject: Re: [Haskell-cafe] Prelude.undefined
From: Alex MDC
Date: Wed, 3 Mar 2010 17:12:05 +1100
2010/3/3 Tom Hawkins <tomahawkins@xxxxxxxxx>
On Wed, Mar 3, 2010 at 6:07 AM, Ivan Miljenovic

-Wall only complains about shadow bindings, defined but not used, and
no type signature. ÂBut no unmatched patterns.
Â
If you can run your code through the ghc debugger you can get it to break when an undefined exception is raised.

The options are :set -fbreak-on-exception or -fbreak-on-error. More info in the documentation at http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-debugger.html#ghci-debugger-exceptions

Hope that helps,
Alex MDC

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe
<Prev in Thread] Current Thread [Next in Thread>