wumpus-tree 0.3.0 → 0.4.0
raw patch · 5 files changed
+12/−8 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- Wumpus.Tree: DrawingAttr :: Double -> FontAttr -> DRGB -> DRGB -> DrawingAttr
+ Wumpus.Tree: DrawingAttr :: Double -> FontAttr -> RGBi -> RGBi -> DrawingAttr
- Wumpus.Tree: circleNode :: DRGB -> (a -> TreeNode)
+ Wumpus.Tree: circleNode :: RGBi -> (a -> TreeNode)
- Wumpus.Tree: diskNode :: DRGB -> (a -> TreeNode)
+ Wumpus.Tree: diskNode :: RGBi -> (a -> TreeNode)
- Wumpus.Tree: fill_colour :: DrawingAttr -> DRGB
+ Wumpus.Tree: fill_colour :: DrawingAttr -> RGBi
- Wumpus.Tree: stroke_colour :: DrawingAttr -> DRGB
+ Wumpus.Tree: stroke_colour :: DrawingAttr -> RGBi
Files
- demo/Demo01.hs +1/−1
- src/Wumpus/Tree.hs +2/−2
- src/Wumpus/Tree/Draw.hs +1/−1
- src/Wumpus/Tree/VersionNumber.hs +2/−2
- wumpus-tree.cabal +6/−2
demo/Demo01.hs view
@@ -5,7 +5,7 @@ import Wumpus.Tree -import Wumpus.Basic.SVGColours -- package: wumpus-basic+import Wumpus.Basic.Colour.SVGColours -- package: wumpus-basic import Data.Tree hiding ( drawTree ) import System.Directory
src/Wumpus/Tree.hs view
@@ -152,7 +152,7 @@ -- -- Suitable for printing the shape of a tree, ignoring the data. ---circleNode :: DRGB -> (a -> TreeNode)+circleNode :: RGBi -> (a -> TreeNode) circleNode rgb = const fn where fn = dotCircle `props` (\s -> s { stroke_colour = rgb})@@ -162,7 +162,7 @@ -- -- Suitable for printing the shape of a tree, ignoring the data. ---diskNode :: DRGB -> (a -> TreeNode)+diskNode :: RGBi -> (a -> TreeNode) diskNode rgb = const fn where fn = dotDisk `props` (\s -> s { fill_colour = rgb})
src/Wumpus/Tree/Draw.hs view
@@ -26,12 +26,12 @@ import Wumpus.Core -- package: wumpus-core import Wumpus.Basic.Anchors -- package: wumpus-basic+import Wumpus.Basic.Colour.SVGColours import Wumpus.Basic.Dots import Wumpus.Basic.Graphic import Wumpus.Basic.Graphic.DrawingAttr import Wumpus.Basic.Monads.Drawing import Wumpus.Basic.Monads.DrawingMonad-import Wumpus.Basic.SVGColours import Data.VectorSpace -- package: vector-space
src/Wumpus/Tree/VersionNumber.hs view
@@ -22,7 +22,7 @@ -- | Version number ----- > (0,3,0)+-- > (0,4,0) -- wumpus_tree_version :: (Int,Int,Int)-wumpus_tree_version = (0,3,0)+wumpus_tree_version = (0,4,0)
wumpus-tree.cabal view
@@ -1,5 +1,5 @@ name: wumpus-tree-version: 0.3.0+version: 0.4.0 license: BSD3 license-file: LICENSE copyright: Stephen Tetley <stephen.tetley@gmail.com>@@ -18,7 +18,11 @@ . Changelog: .- 0.2.0 to 0.3.0+ 0.3.0 to 0.4.0:+ .+ * Updated to track changes in Wumpus-Basic. Nothing new.+ .+ 0.2.0 to 0.3.0: . * Updated to track changes in Wumpus-Basic. No new functionality.