Monday, September 6, 2010

wumpus-basic

Copperbox revision 1687.

First step in redesigning the Graphic types.

The new Graphic type is no longer a function from Point to [Primitive] - instead its a function from DrawingContext to [Primitive] (actually the list is a Hughes list, for good concatenation behaviour).

It seems that only certain Graphics are from Point -> [Primitive] so I've a new type to capture that:

type CFGraphic u = Point2 u -> Graphic u

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.