plot 0.1.2.3 → 0.1.2.4
raw patch · 3 files changed
+11/−7 lines, 3 filesdep ~cairodep ~mtldep ~pango
Dependency ranges changed: cairo, mtl, pango
Files
- CHANGES +4/−0
- lib/Graphics/Rendering/Plot/Types.hs +3/−3
- plot.cabal +4/−4
CHANGES view
@@ -31,3 +31,7 @@ 0.1.2.3: * export withGridLine++0.1.2.4:+ * bumped gtk dependency+ * changed 'State' constructor to 'state' function to reflect mtl > 2
lib/Graphics/Rendering/Plot/Types.hs view
@@ -426,7 +426,7 @@ ----------------------------------------------------------------------------- dataInPlot' :: State DataSeries a -> State PlotData a-dataInPlot' m = State $ \s -> let (a,d') = runState m (_data s)+dataInPlot' m = state $ \s -> let (a,d') = runState m (_data s) in (a,s { _data = d'}) dataInPlot :: Data a -> Plot a@@ -435,7 +435,7 @@ ----------------------------------------------------------------------------- legendInPlot' :: State (Maybe LegendData) a -> State PlotData a-legendInPlot' m = State $ \s -> let l = _legend s+legendInPlot' m = state $ \s -> let l = _legend s (a,legend) = runState m l in (a,s { _legend = legend}) @@ -445,7 +445,7 @@ ----------------------------------------------------------------------------- annoteInPlot' :: State Annotations a -> State PlotData a-annoteInPlot' m = State $ \s -> let l = _annote s+annoteInPlot' m = state $ \s -> let l = _annote s (a,annote) = runState m l in (a,s { _annote = annote})
plot.cabal view
@@ -1,5 +1,5 @@ Name: plot-Version: 0.1.2.3+Version: 0.1.2.4 License: BSD3 License-file: LICENSE Copyright: (c) A.V.H. McPhail 2010@@ -48,7 +48,7 @@ . Category: Graphics -Tested-with: GHC==6.12.1+Tested-with: GHC==7.0.1 Cabal-version: >= 1.8 Build-type: Simple @@ -59,9 +59,9 @@ library Build-Depends: base >= 4 && < 5,- mtl, array,+ mtl > 2, array, MaybeT,- pango >= 0.11.2 && < 0.12, cairo >= 0.11.1 && < 0.12,+ pango >= 0.11.2 && < 0.13, cairo >= 0.11.1 && < 0.13, colour >= 2.2.1 && < 2.4, hmatrix >= 0.10