wumpus-tree 0.18.0 → 0.20.0
raw patch · 3 files changed
+19/−9 lines, 3 filesdep ~wumpus-basicdep ~wumpus-drawingPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: wumpus-basic, wumpus-drawing
API changes (from Hackage documentation)
- Wumpus.Tree.Base: runTreeMonad :: (Translate a, InterpretUnit u, u ~ (DUnit a)) => TreeMonad node u a -> TreeProps node u -> LocImage u a
+ Wumpus.Tree.Base: runTreeMonad :: (Translate a, InterpretUnit u, u ~ DUnit a) => TreeMonad node u a -> TreeProps node u -> LocImage u a
- Wumpus.Tree.DrawLoc: treeDrawing :: (Real u, Floating u, Translate node, InterpretUnit u, u ~ (DUnit node)) => TreeProps node u -> TreeSpec ix u node -> LocGraphic u
+ Wumpus.Tree.DrawLoc: treeDrawing :: (Real u, Floating u, Translate node, InterpretUnit u, u ~ DUnit node) => TreeProps node u -> TreeSpec ix u node -> LocGraphic u
- Wumpus.Tree.OTMConnectors: familyOTM :: (Real u, Floating u, Ord u, Tolerance u, InterpretUnit u, CenterAnchor node, CardinalAnchor node, u ~ (DUnit node)) => OTMAnchorConn node u
+ Wumpus.Tree.OTMConnectors: familyOTM :: (Real u, Floating u, Ord u, Tolerance u, InterpretUnit u, CenterAnchor node, CardinalAnchor node, u ~ DUnit node) => OTMAnchorConn node u
- Wumpus.Tree.OTMConnectors: radialOTM :: (Real u, Floating u, InterpretUnit u, RadialAnchor node, CenterAnchor node, u ~ (DUnit node)) => OTMAnchorConn node u
+ Wumpus.Tree.OTMConnectors: radialOTM :: (Real u, Floating u, InterpretUnit u, RadialAnchor node, CenterAnchor node, u ~ DUnit node) => OTMAnchorConn node u
- Wumpus.Tree.OTMConnectors: splayOTM :: (Real u, Floating u, Ord u, Tolerance u, InterpretUnit u, CenterAnchor node, CardinalAnchor node, u ~ (DUnit node)) => OTMAnchorConn node u
+ Wumpus.Tree.OTMConnectors: splayOTM :: (Real u, Floating u, Ord u, Tolerance u, InterpretUnit u, CenterAnchor node, CardinalAnchor node, u ~ DUnit node) => OTMAnchorConn node u
Files
- src/Wumpus/Tree/OTMConnectors.hs +2/−2
- src/Wumpus/Tree/VersionNumber.hs +3/−3
- wumpus-tree.cabal +14/−4
src/Wumpus/Tree/OTMConnectors.hs view
@@ -117,11 +117,11 @@ ptick = outtick hh (center a) (paF a) cticks = map (\o -> outtick hh (center o) (caF o)) xs kids = sequence cticks- in ignoreAns ptick `mappend` (ignoreAns $ selaborate kids fn)+ in ignoreAns ptick `mappend` (ignoreAns $ elaborateAbove kids fn) where fn ps = case linkAll ps of Nothing -> emptyLocImage `at` (center a)- Just path -> drawPath_ OSTROKE path+ Just path -> renderPath_ OSTROKE path
src/Wumpus/Tree/VersionNumber.hs view
@@ -3,7 +3,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Wumpus.Tree.VersionNumber--- Copyright : (c) Stephen Tetley 2010-2011+-- Copyright : (c) Stephen Tetley 2010-2012 -- License : BSD3 -- -- Maintainer : stephen.tetley@gmail.com@@ -22,7 +22,7 @@ -- | Version number ----- > (0,18,0)+-- > (0,20,0) -- wumpus_tree_version :: (Int,Int,Int)-wumpus_tree_version = (0,18,0)+wumpus_tree_version = (0,20,0)
wumpus-tree.cabal view
@@ -1,5 +1,5 @@ name: wumpus-tree-version: 0.18.0+version: 0.20.0 license: BSD3 license-file: LICENSE copyright: Stephen Tetley <stephen.tetley@gmail.com>@@ -32,11 +32,21 @@ . Changelog: .- v0.17.0 to v0.18+ v0.19.0 to v0.20.0: .+ * Updates to work with wumpus-drawing-0.9.0 and + wumpus-basic-0.24.0.+ .+ v0.18.0 to v0.19.0:+ . * Updated to work with Wumpus-Basic-0.22.0 and wumpus-drawing-0.7.0. .+ v0.17.0 to v0.18.0:+ .+ * Updated to work with Wumpus-Basic-0.22.0 and + wumpus-drawing-0.7.0.+ . v0.16.0 to v0.17.0: . * Reworked internals to use the @LocDrawing@ monad from @@ -68,8 +78,8 @@ containers >= 0.3.0 && <= 0.6.0, vector-space >= 0.6 && < 1.0, wumpus-core >= 0.52.0 && < 0.53.0,- wumpus-basic == 0.22.0,- wumpus-drawing == 0.7.0+ wumpus-basic == 0.24.0,+ wumpus-drawing == 0.9.0 exposed-modules: