[Haskell-cafe] Re: Overlapping instances

2005-08-24 Thread Ashley Yakeley
In article [EMAIL PROTECTED], Frank [EMAIL PROTECTED] wrote: I would like to state that a class Sup is exhaustively broken down in two subclasses Sub1 and Sub2 (meaning, for every instance of Sub1 and every instance of Sub2, the methods in Sup apply). I try to code this as: instance

[Haskell-cafe] Hugs - evaluation statistics

2005-08-24 Thread Dusan Kolar
Hello, Even if I know number of reductions should not be used to anything important I'm quite confused with values I get. Is garbage collection somehow affecting the number of reductions? I have always thought not, but... ;-) Thx, Dusan ___

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, then