[Haskell-cafe] Prelude.undefined

Ivan Miljenovic ivan.miljenovic at gmail.com
Wed Mar 3 00:07:22 EST 2010

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?

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list