[Haskell-cafe] Prelude.undefined

Tom Hawkins tomahawkins at gmail.com
Wed Mar 3 10:56:17 EST 2010

On Wed, Mar 3, 2010 at 7:24 AM, Alexander Dunlap
<alexander.dunlap at gmail.com> wrote:
> On Tue, Mar 2, 2010 at 9:06 PM, 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:
> While the debugger, etc., are very useful tools, I find that often the
> easiest way to track down this sort of bug is to test your code
> function-by-function.

The debugger was not that helpful, so I may have to resort to this.

Is there any work being done to improve reporting for these type of
errors?  It seems to be a fairly common problem.

More information about the Haskell-Cafe mailing list