Ivan Miljenovic <[email protected]> writes:

>> <GHC.Err.CAF>Test: Prelude.undefined

> Are you matching all patterns?  When compiling with -Wall does it make
> any complaints?

How would this help?  'Prelude.undefined' happens because somewhere
you're trying to evaluate a value defined with that particular literal,
doesn't it?

Using this in a library seems to me to be in poor taste, but grepping
the code should reveal it, if you're sure that's where the problem is
hiding.  I generally replace any 'undefined's with 'error string', with
each 'string' unique for that position.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to