packages feed

wumpus-microprint 0.5.0 → 0.6.0

raw patch · 3 files changed

+16/−10 lines, 3 filesdep ~wumpus-basicdep ~wumpus-corePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: wumpus-basic, wumpus-core

API changes (from Hackage documentation)

Files

src/Wumpus/MicroPrint/Render.hs view
@@ -72,20 +72,20 @@ borderedF ln_width (i,uw) (w,h) rgb =      srect `cc` seps `cc` greekF (i,uw) (w,h) rgb   where-    props = (black, LineWidth ln_width)+    props = default_stroke_attr { line_width = ln_width }      srect :: DGraphicF-    srect = wrapG . cstroke props . rectanglePath w h+    srect = wrapG . cstroke black props . rectanglePath w h       seps  :: DGraphicF     seps  = \pt -> unfoldrH (phi pt) (1,uw)           phi pt (n,hshift) | n >= i    = Nothing-                      | otherwise = let ln = vline props h (pt .+^ hvec hshift)+                      | otherwise = let ln = vline black props h (pt .+^ hvec hshift)                                     in  Just (ln,(n+1,hshift+uw))  -vline :: (Stroke t, Num u, Ord u) => t -> u -> Point2 u -> Primitive u-vline t h = \pt -> ostroke t $ path pt [lineTo $ pt .+^ vvec h]+vline :: (Num u, Ord u) => RGBi -> StrokeAttr -> u -> Point2 u -> Primitive u+vline rgb attr h = \pt -> ostroke rgb attr $ path pt [lineTo $ pt .+^ vvec h]       newtype RenderMonad a = RM { 
src/Wumpus/MicroPrint/VersionNumber.hs view
@@ -22,7 +22,7 @@  -- | Version number ----- > (0,5,0)+-- > (0,6,0) -- wumpus_microprint_version :: (Int,Int,Int)-wumpus_microprint_version = (0,5,0)+wumpus_microprint_version = (0,6,0)
wumpus-microprint.cabal view
@@ -1,5 +1,5 @@ name:             wumpus-microprint-version:          0.5.0+version:          0.6.0 license:          BSD3 license-file:     LICENSE copyright:        Stephen Tetley <stephen.tetley@gmail.com>@@ -24,6 +24,12 @@   \[1\] <http://scg.unibe.ch/archive/papers/Robb05b-microprintsESUG.pdf>   .   Changelog:+  .+  0.5.0 to 0.6.0:+  .+  * Updated internals to work with latest @wumpus-core@ and +    @wumpus-basic@.+  .    0.4.0 to 0.5.0:   .   * Updated internals to work with latest @wumpus-core@ and @@ -60,8 +66,8 @@   build-depends:      base              <  5,                        vector-space      >= 0.6,                       monadLib          >= 3.6,-                      wumpus-core       >= 0.30.0,-                      wumpus-basic      >= 0.5.0+                      wumpus-core       == 0.31.0,+                      wumpus-basic      == 0.6.0       exposed-modules: