packages feed

diagrams-lib 1.2.0.2 → 1.2.0.3

raw patch · 4 files changed

+15/−10 lines, 4 filesdep ~optparse-applicativePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: optparse-applicative

API changes (from Hackage documentation)

- Diagrams.Segment: oeEnvelope :: Lens' (OffsetEnvelope v_aBej) (Envelope v_aBej)
+ Diagrams.Segment: oeEnvelope :: Lens' (OffsetEnvelope v_aBew) (Envelope v_aBew)
- Diagrams.Segment: oeOffset :: Lens' (OffsetEnvelope v_aBej) (TotalOffset v_aBej)
+ Diagrams.Segment: oeOffset :: Lens' (OffsetEnvelope v_aBew) (TotalOffset v_aBew)
- Diagrams.TwoD.Transform.ScaleInv: scaleInvDir :: Lens' (ScaleInv t_avcs) R2
+ Diagrams.TwoD.Transform.ScaleInv: scaleInvDir :: Lens' (ScaleInv t_avcF) R2
- Diagrams.TwoD.Transform.ScaleInv: scaleInvLoc :: Lens' (ScaleInv t_avcs) P2
+ Diagrams.TwoD.Transform.ScaleInv: scaleInvLoc :: Lens' (ScaleInv t_avcF) P2
- Diagrams.TwoD.Transform.ScaleInv: scaleInvObj :: Lens (ScaleInv t_avcs) (ScaleInv t_avdD) t_avcs t_avdD
+ Diagrams.TwoD.Transform.ScaleInv: scaleInvObj :: Lens (ScaleInv t_avcF) (ScaleInv t_avdQ) t_avcF t_avdQ

Files

CHANGES.markdown view
@@ -1,3 +1,8 @@+1.2.0.3 (7 September 2014)+--------------------------++- Allow optparse-applicative-0.10+ 1.2.0.2 (22 August 2014) ------------------------ 
diagrams-lib.cabal view
@@ -1,5 +1,5 @@ Name:                diagrams-lib-Version:             1.2.0.2+Version:             1.2.0.3 Synopsis:            Embedded domain-specific language for declarative graphics Description:         Diagrams is a flexible, extensible EDSL for creating                      graphics of many types.  Graphics can be created@@ -107,7 +107,7 @@                        intervals >= 0.7 && < 0.8,                        lens >= 4.0 && < 4.5,                        tagged >= 0.7,-                       optparse-applicative >= 0.7 && < 0.10,+                       optparse-applicative >= 0.10 && < 0.11,                        filepath,                        safe >= 0.2 && < 0.4,                        JuicyPixels >= 3.1.5 && < 3.2,
src/Diagrams/Backend/CmdLine.hs view
@@ -76,7 +76,7 @@ import           Diagrams.Attributes import           Diagrams.Core       hiding (value) -import           Options.Applicative hiding ((&))+import           Options.Applicative  import           Prelude @@ -144,11 +144,11 @@ --   Output is option @--output@ or @-o@. diagramOpts :: Parser DiagramOpts diagramOpts = DiagramOpts-    <$> (optional . option)+    <$> (optional . option auto)         ( long "width" <> short 'w'        <> metavar "WIDTH"        <> help "Desired WIDTH of the output image")-    <*> (optional . option)+    <*> (optional . option auto)         ( long "height" <> short 'h'        <> metavar "HEIGHT"        <> help "Desired HEIGHT of the output image")@@ -175,7 +175,7 @@ --   Frames per unit is @--fpu@ or @-f@. diagramAnimOpts :: Parser DiagramAnimOpts diagramAnimOpts = DiagramAnimOpts-    <$> option+    <$> option auto         ( long "fpu" <> short 'f'        <> value 30.0        <> help "Frames per unit time (for animations)")@@ -190,7 +190,7 @@     <*> (optional . strOption)         ( long "src" <> short 's'        <> help "Source file to watch")-    <*> option+    <*> option auto         ( long "interval" <> short 'i'        <> value 1        <> metavar "INTERVAL"@@ -426,10 +426,10 @@     -- @     -- import Diagrams.Prelude     -- import Diagrams.Backend.TheBestBackend.CmdLine-    -- +    --     -- d :: Diagram B R2     -- d = ...-    -- +    --     -- main = mainWith d     -- @     --
src/Diagrams/Combinators.hs view
@@ -40,7 +40,7 @@  import           Data.Typeable -import           Control.Lens          (Lens', generateSignatures, lensField,+import           Control.Lens          (Lens', generateSignatures,                                         lensRules, makeLensesWith, (%~), (&),                                         (.~), (^.), _Wrapping) import           Data.AdditiveGroup