[Haskell-cafe] Pattern match failure, then inconsistent function

2005-08-22 Thread Adam Wyner
Hi, I am getting a "pattern match failure", and then subsequent functions which worked right work wrong. I am using Hugs and Trex. While most of the other functions work fine, the function "findCoordinatesUtil" generates an error, then misbehaves; it takes a record and searches a list of record

[Haskell-cafe] Pattern match failure, then inconsistent function behavior

2005-08-22 Thread Adam Wyner
Hi, I am getting a "pattern match failure", and then a function which worked right works wrong. I am using Hugs and Trex. While most of the other functions in my module work fine, the function "findCoordinatesUtil" generates an error, then misbehaves. The function takes a record and a list o

Re: [Haskell-cafe] Pattern match failure, then inconsistent function

2005-08-23 Thread Malcolm Wallace
Adam Wyner <[EMAIL PROTECTED]> writes: > I am getting a "pattern match failure", and then subsequent functions > which worked right work wrong. I am using Hugs and Trex. The problem with subsequent evaluations is simple. When Hugs says this: > INTERNAL ERROR: Error in graph it means that the

Re: [Haskell-cafe] Pattern match failure, then inconsistent function

2005-08-24 Thread Ross Paterson
On Mon, Aug 22, 2005 at 03:31:24PM +0100, Adam Wyner wrote: > I am getting a "pattern match failure", and then subsequent functions > which worked right work wrong. I am using Hugs and Trex. While most of > the other functions work fine, the function "findCoordinatesUtil" > generates an error, th