Copperbox revision 727.
I've changed to BoundingBox module as I want the bounding box of pictures to be more accessible, then I can get add functionality like TikZ's nodes.
However, because Pictures are a functional type Frame -> (WumpusM (), BoundingBox) I can't access the bounding box how I would like. I'm wondering if Picture should be a monad transformer of Writer and Reader (Reader supplies the enivronment - here a frame, and Writer supplies the output so far a string of PostScript text and the bounding box).
If I did change to a monad I could use all the tricks (applicative combinators, do notation) to get rid of some of the messy Picture $ \frm -> let ... - code in Basic.hs that has taken hold.
Blog Archive
-
▼
2009
(651)
-
▼
August
(51)
- Bala2
- Bala2
- Bala2
- Bala2
- Bala2
- Bala2
- Bala2
- Mullein-0.2.0
- Mullein
- Mullein
- Mullein
- Mullein
- Bala2 and Mullein
- Bala2
- Bala2 and Mullein
- Bala2 and Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Mullein
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
- Wumpus
-
▼
August
(51)
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.