[Haskell-cafe] Prelude.undefined

Tom Hawkins tomahawkins at gmail.com
Wed Mar 3 00:11:14 EST 2010

On Wed, Mar 3, 2010 at 6:07 AM, Ivan Miljenovic
<ivan.miljenovic at gmail.com> wrote:
> On 3 March 2010 16:06, Tom Hawkins <tomahawkins at gmail.com> wrote:
>> How do I track down an reference to an undefined value?  My program
>> must not be using a library correctly because the program makes no
>> direct use of 'undefined'.  Running with +RTS -xc yields:
>> <GHC.Err.CAF>Test: Prelude.undefined
> Are you matching all patterns?  When compiling with -Wall does it make
> any complaints?

-Wall only complains about shadow bindings, defined but not used, and
no type signature.  But no unmatched patterns.

> --
> Ivan Lazar Miljenovic
> Ivan.Miljenovic at gmail.com
> IvanMiljenovic.wordpress.com

More information about the Haskell-Cafe mailing list