Wednesday, April 13, 2011

wumpus

Copperbox revision 2315.

I've moved Tolerance into Wumpus-Core and made the Point2 and Vec2 Eq and Ord instances tolerant.

This was less invasive than I had thought it would be - if client code needs very accurate equality for Points it can wrap a unit as a new type and declare a Tolerance instance with high accuracy. Points or vectors themselves need no change or wrapping.

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.