On Wed, Mar 3, 2010 at 6:07 AM, Ivan Miljenovic <ivan.miljeno...@gmail.com> wrote: > On 3 March 2010 16:06, Tom Hawkins <tomahawk...@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.miljeno...@gmail.com > IvanMiljenovic.wordpress.com > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe