Monday, June 7, 2010

PSC

Copperbox revision 1415.

For drawing scatter plots, I've coalesced axis and grid drawing into one operation labelling. As both axis and grid drawing are functions, it is easy to combine them both into one operation with a composition operator - here `cc` (contextual composition).

cc f g = \ctx -> f ctx . g ctx

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.