Copperbox revision 1759.
I've reworked the implementation of connectors so they build Paths directly rather than use the PathM monad. There are a few simple connectors, when I add more connectors I'll have to work out a naming scheme. Also there might be a need to compose connectors which isn't addressed at the moment.
Sunday, October 3, 2010
wumpus-basic
Copperbox revision 1758.
Paths.Connectors compiles again, however it is due to be reworked substantially.
Paths.Connectors compiles again, however it is due to be reworked substantially.
wumpus-basic
Copperbox revision 1757.
First round of work re-doing paths...
The base data types now have an explicit representation of the empty path and they cache the start and end points as well as the length.
Constructing paths via a monad turns out to be good. I'd been wanting to get rid of the PathM monad but monadic construction handles the path start point nicely - the run function supplies the start point. Without the start point being abstracted, snoc-ing doesn't have good semantics - for instance, the hline combinator cannot work on the empty path because it has no Y-position to take.
I haven't looked at the Connectors module yet, and as the the base types have changed it is currently broken. Connectors seem quite different to paths as the start and end points are known from the start (monadic paths only 'know' the start point).
First round of work re-doing paths...
The base data types now have an explicit representation of the empty path and they cache the start and end points as well as the length.
Constructing paths via a monad turns out to be good. I'd been wanting to get rid of the PathM monad but monadic construction handles the path start point nicely - the run function supplies the start point. Without the start point being abstracted, snoc-ing doesn't have good semantics - for instance, the hline combinator cannot work on the empty path because it has no Y-position to take.
I haven't looked at the Connectors module yet, and as the the base types have changed it is currently broken. Connectors seem quite different to paths as the start and end points are known from the start (monadic paths only 'know' the start point).
Saturday, October 2, 2010
wumpus - new releases
Copperbox revision 1756.
New releases for Hackage:
wumpus-core-0.34.0
wumpus-basic-0.9.0
wumpus-microprint-0.9.0
wumpus-tree-0.8.0
New releases for Hackage:
wumpus-core-0.34.0
wumpus-basic-0.9.0
wumpus-microprint-0.9.0
wumpus-tree-0.8.0
wumpus-basic
Copperbox revision 1755.
Updates to three of the examples that had stopped compiling due to changes with chains.
Updates to three of the examples that had stopped compiling due to changes with chains.
wumpus-core
Copperbox revision 1754.
A round of haddock doc improvements.
I'm going to make a release over the weekend, and some of the documentation in Wumpus-Core was getting out of date.
A round of haddock doc improvements.
I'm going to make a release over the weekend, and some of the documentation in Wumpus-Core was getting out of date.
Friday, October 1, 2010
wumpus
I've been without internet access for a few days, so while I've still been working on Wumpus there's been a gap where I haven't made any commits. I've now committed all the new code:
Copperbox revision 1749 - Wumpus-Basic
Added ScalingContext to Basic.Graphic for drawings such as Trees or Turtle drawings that work with some coordinate space (e.g. integer coordinates for turtle) that gets scaled to Drawing coordinates.
Copperbox revision 1750 - Wumpus-Tree
Added a new drawing style for "family trees" - here the connector is drawn as a horizontal line with vertical ticks to the parent and child nodes.
Copperbox revisions 1751 & 1752 - Wumpus-Microprint
Changed the capitalization of the module hierarchy to use a lower 'p' for Microprint, so the first commit deleted the old source modules, the second commit adds the old ones back plus a new module for tokenizing input. This new tokenizer is preferred over the previous teletype style.
Copperbox revision 1753 - Poor Small Chart
Changes to the Sparkline implementation. The new implementation is closer to the latest drawing style supported by Wumpus-Basic, but it is not strictly an improvement as the new types are too complicated. Chart drawing needs a substantial rethink.
Copperbox revision 1749 - Wumpus-Basic
Added ScalingContext to Basic.Graphic for drawings such as Trees or Turtle drawings that work with some coordinate space (e.g. integer coordinates for turtle) that gets scaled to Drawing coordinates.
Copperbox revision 1750 - Wumpus-Tree
Added a new drawing style for "family trees" - here the connector is drawn as a horizontal line with vertical ticks to the parent and child nodes.
Copperbox revisions 1751 & 1752 - Wumpus-Microprint
Changed the capitalization of the module hierarchy to use a lower 'p' for Microprint, so the first commit deleted the old source modules, the second commit adds the old ones back plus a new module for tokenizing input. This new tokenizer is preferred over the previous teletype style.
Copperbox revision 1753 - Poor Small Chart
Changes to the Sparkline implementation. The new implementation is closer to the latest drawing style supported by Wumpus-Basic, but it is not strictly an improvement as the new types are too complicated. Chart drawing needs a substantial rethink.
Subscribe to:
Posts (Atom)
Blog Archive
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.