Re: [Haskell-cafe] Refactoring type-class madness

2010-07-15 Thread wren ng thornton
Andrew Webb wrote: Because, at the basic level all of the experiments share this type of data, it seems that I should be able to write analysis functions that work for any experiment. However, the experiments differ in the stimuli used, and associated with each stimulus set is a set of "milestone

[Haskell-cafe] Refactoring type-class madness

2010-07-15 Thread Andrew Webb
Hi there haskellers, I have thoroughly confused myself with type-classes in a haskell system I am writing, and I was wondering if anyone had some useful suggestions to get me out of my mess. I apologise if this is all long and rambling, but that maybe why I can't solve it... The system itself per