Daily Archives: 16 March, 2011

The One Function per Typeclass Rule

After about five years programming in Haskell, I think we need a rule:  Only put one function in a typeclass. Why?  Because inevitably someone comes along with a data type for which one or the other function of a typeclass … Continue reading

Posted in Haskell | 5 Comments