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
-
▼
2009
(651)
-
▼
June
(40)
- stream-calculus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- I `heart` TypeFamilies! (Wumpus)
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Scan Golf!
- Wumpus
- Wumpus
- Clastic
-
▼
June
(40)
About Me
- Stephen Tetley
- 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.