Thursday, June 25, 2009

Wumpus

Copperbox revision 645.

The LineSegment datatype wasn't very good, it was parametric on the numeric type, but it fixed the point type to Point2 - so it would only allow lines in 2D. At the expense of making the type signature more complicated I've made it more general - it's now parametric on point type as well (it's more complicated because the point type has to be a type constructor).

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.