Sunday, March 23, 2008

Bala

Copperbox revision 110.

Intervals are now represented by natural numbers. Trying to account for negative numbers made the previous Num instance complicated and buggy.

I think addition and subtraction on intervals can be adequately represented as with just natural numbers for semitone count and and arithmetic distance, but I'll have to work out some QuickCheck properties to test this idea.

Blog Archive

About Me

My photo
Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.