gnuplot 0.5.6 → 0.5.6.1
raw patch · 3 files changed
+11/−5 lines, 3 filesdep +shell-utilityPVP ok
version bump matches the API change (PVP)
Dependencies added: shell-utility
API changes (from Hackage documentation)
Files
- execute/shell/Graphics/Gnuplot/Execute.hs +3/−2
- gnuplot.cabal +4/−3
- src/Graphics/Gnuplot/Simple.hs +4/−0
execute/shell/Graphics/Gnuplot/Execute.hs view
@@ -1,8 +1,9 @@ module Graphics.Gnuplot.Execute where import Graphics.Gnuplot.Private.OS (gnuplotName, )-import Graphics.Gnuplot.Utility (quote, semiColonConcat, )+import Graphics.Gnuplot.Utility (semiColonConcat, ) +import Shell.Utility.Quote as Quote import System.Exit (ExitCode, ) import System.Cmd (system, ) @@ -13,7 +14,7 @@ -> IO ExitCode simple program options = let cmd =- "sh -c 'echo " ++ quote (semiColonConcat program) +++ "sh -c 'echo " ++ Quote.minimal (semiColonConcat program) ++ " | " ++ gnuplotName ++ " " ++ unwords options ++ "'" in do --putStrLn cmd system cmd
gnuplot.cabal view
@@ -1,5 +1,5 @@ Name: gnuplot-Version: 0.5.6+Version: 0.5.6.1 License: BSD3 License-File: LICENSE Author: Henning Thielemann <haskell@henning-thielemann.de>@@ -51,7 +51,7 @@ data/runtime.data Source-Repository this- Tag: 0.5.6+ Tag: 0.5.6.1 Type: darcs Location: http://code.haskell.org/gnuplot/ @@ -84,7 +84,7 @@ semigroups >=0.1 && <1.0, deepseq >=1.0 && <1.5, process >=1.0 && <1.7,- time >=1.5 && <1.9,+ time >=1.5 && <1.10, base >=2 && <5 GHC-Options: -Wall@@ -95,6 +95,7 @@ Else If flag(executeShell) Hs-Source-Dirs: execute/shell+ Build-Depends: shell-utility >=0.0 && <0.1 Else Hs-Source-Dirs: execute/tmp If os(windows)
src/Graphics/Gnuplot/Simple.hs view
@@ -5,6 +5,10 @@ instead we provide an advanced modularized interface in "Graphics.Gnuplot.Advanced". +Here is a pretty simple example:++> Graphics.Gnuplot.Simple> plotFunc [] (linearScale 1000 (-10,10::Double)) sin+ This was formerly part of the htam package. -} module Graphics.Gnuplot.Simple (