packages feed

wumpus-tree 0.13.0 → 0.14.0

raw patch · 4 files changed

+17/−9 lines, 4 filesdep ~wumpus-basicdep ~wumpus-coredep ~wumpus-drawingPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: wumpus-basic, wumpus-core, wumpus-drawing

API changes (from Hackage documentation)

Files

src/Wumpus/Tree/Draw.hs view
@@ -125,7 +125,7 @@ midline :: (Fractional u, Ord u) => Point2 u -> [Point2 u] -> Graphic u midline _        []           = error "midline - empty list"  midline (P2 _ y) (P2 x0 _:zs) = -    let (a,b) = foldr fn (x0,x0) zs in straightLineBetween (P2 a y) (P2 b y)+    let (a,b) = foldr fn (x0,x0) zs in straightLineGraphic (P2 a y) (P2 b y)   where        fn (P2 x _) (lo,hi) | x < lo    = (x,hi)                         | x > hi    = (lo,x)@@ -137,7 +137,7 @@ -- special case - should always be a vertical, but... famconn1 :: Fractional u => Point2 u -> Point2 u -> Graphic u famconn1 a@(P2 xa _) b@(P2 xb _) -    | xa == xb  = straightLineBetween a b+    | xa == xb  = straightLineGraphic a b     | otherwise = openStroke $ vertexPath [a,m1,m2,b]    where     hh = halfHeight a b
src/Wumpus/Tree/TreeBuildMonad.hs view
@@ -185,6 +185,9 @@ -- Note - /regular/ nodes cannot be annotated, a node must be  -- bound to a variable first with 'nodeId'. --+-- Also this function is not so useful now Wumpus-Basic has+-- the @decorate@, @sdecorate@, and @adecorate@ functions.+--  annotate :: u ~ DUnit a => NodeId a -> NodeAnno u -> TreeBuild u () annotate (RegularNode _) _     = return () annotate (NodeId nid)    annoF = 
src/Wumpus/Tree/VersionNumber.hs view
@@ -3,7 +3,7 @@ -------------------------------------------------------------------------------- -- | -- Module      :  Wumpus.Tree.VersionNumber--- Copyright   :  (c) Stephen Tetley 2010+-- Copyright   :  (c) Stephen Tetley 2010-2011 -- License     :  BSD3 -- -- Maintainer  :  stephen.tetley@gmail.com@@ -22,7 +22,7 @@  -- | Version number ----- > (0,13,0)+-- > (0,14,0) -- wumpus_tree_version :: (Int,Int,Int)-wumpus_tree_version = (0,13,0)+wumpus_tree_version = (0,14,0)
wumpus-tree.cabal view
@@ -1,5 +1,5 @@ name:             wumpus-tree-version:          0.13.0+version:          0.14.0 license:          BSD3 license-file:     LICENSE copyright:        Stephen Tetley <stephen.tetley@gmail.com>@@ -32,6 +32,11 @@   .   Changelog:   .+  v0.13.0 to v0.14.0:+  .+  * Updated to work with latest Wumpus libraries. +  .+  .   v0.12.0 to v0.13.0:   .   * Changed the specification of trees so that they are built in a@@ -79,9 +84,9 @@   build-depends:      base              <  5,                        containers        >= 0.3.0     && <= 0.6.0,                       vector-space      >= 0.6       && <  1.0,-                      wumpus-core       >= 0.42.0    && <  0.43.0,-                      wumpus-basic      == 0.15.0,-                      wumpus-drawing    == 0.1.0+                      wumpus-core       >= 0.43.0    && <  0.44.0,+                      wumpus-basic      == 0.16.0,+                      wumpus-drawing    == 0.2.0       exposed-modules: