packages feed

diagrams-contrib 1.4.0.1 → 1.4.1

raw patch · 3 files changed

+30/−8 lines, 3 filesdep ~QuickCheckdep ~basedep ~cubicbezierPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: QuickCheck, base, cubicbezier

API changes (from Hackage documentation)

+ Diagrams.TwoD.Grid: GridOpts :: Measure n -> Colour Double -> Colour Double -> V2 n -> V2 n -> V2 n -> GridOpts n
+ Diagrams.TwoD.Grid: HighlightLineOpts :: Colour Double -> Measure n -> [Measure n] -> Measure n -> HighlightLineOpts n
+ Diagrams.TwoD.Grid: [_gridLL] :: GridOpts n -> V2 n
+ Diagrams.TwoD.Grid: [_gridLR] :: GridOpts n -> V2 n
+ Diagrams.TwoD.Grid: [_gridLineWidth] :: GridOpts n -> Measure n
+ Diagrams.TwoD.Grid: [_gridUL] :: GridOpts n -> V2 n
+ Diagrams.TwoD.Grid: [_gridXColour] :: GridOpts n -> Colour Double
+ Diagrams.TwoD.Grid: [_gridYColour] :: GridOpts n -> Colour Double
+ Diagrams.TwoD.Grid: [_highLightLineColour] :: HighlightLineOpts n -> Colour Double
+ Diagrams.TwoD.Grid: [_highLightLineDashingOffset] :: HighlightLineOpts n -> Measure n
+ Diagrams.TwoD.Grid: [_highLightLineDashingOnOff] :: HighlightLineOpts n -> [Measure n]
+ Diagrams.TwoD.Grid: [_highLightLineWidth] :: HighlightLineOpts n -> Measure n
+ Diagrams.TwoD.Grid: data GridOpts n
+ Diagrams.TwoD.Grid: data HighlightLineOpts n
+ Diagrams.TwoD.Grid: gridLL :: forall n_a1txf. Lens' (GridOpts n_a1txf) (V2 n_a1txf)
+ Diagrams.TwoD.Grid: gridLR :: forall n_a1txf. Lens' (GridOpts n_a1txf) (V2 n_a1txf)
+ Diagrams.TwoD.Grid: gridLine' :: (IsName a, IsName b, Renderable (Path V2 n) c, TypeableFloat n) => HighlightLineOpts n -> a -> b -> QDiagram c V2 n Any -> QDiagram c V2 n Any
+ Diagrams.TwoD.Grid: gridLineWidth :: forall n_a1txf. Lens' (GridOpts n_a1txf) (Measure n_a1txf)
+ Diagrams.TwoD.Grid: gridUL :: forall n_a1txf. Lens' (GridOpts n_a1txf) (V2 n_a1txf)
+ Diagrams.TwoD.Grid: gridXColour :: forall n_a1txf. Lens' (GridOpts n_a1txf) (Colour Double)
+ Diagrams.TwoD.Grid: gridYColour :: forall n_a1txf. Lens' (GridOpts n_a1txf) (Colour Double)
+ Diagrams.TwoD.Grid: highLightLineColour :: forall n_a1txe. Lens' (HighlightLineOpts n_a1txe) (Colour Double)
+ Diagrams.TwoD.Grid: highLightLineDashingOffset :: forall n_a1txe. Lens' (HighlightLineOpts n_a1txe) (Measure n_a1txe)
+ Diagrams.TwoD.Grid: highLightLineDashingOnOff :: forall n_a1txe. Lens' (HighlightLineOpts n_a1txe) [Measure n_a1txe]
+ Diagrams.TwoD.Grid: highLightLineWidth :: forall n_a1txe. Lens' (HighlightLineOpts n_a1txe) (Measure n_a1txe)
- Diagrams.TwoD.Layout.Tree: edgeLen :: forall n_a14cu. Lens' (ForceLayoutTreeOpts n_a14cu) n_a14cu
+ Diagrams.TwoD.Layout.Tree: edgeLen :: forall n_a17xZ. Lens' (ForceLayoutTreeOpts n_a17xZ) n_a17xZ
- Diagrams.TwoD.Layout.Tree: forceLayoutOpts :: forall n_a14cu. Lens' (ForceLayoutTreeOpts n_a14cu) (ForceLayoutOpts n_a14cu)
+ Diagrams.TwoD.Layout.Tree: forceLayoutOpts :: forall n_a17xZ. Lens' (ForceLayoutTreeOpts n_a17xZ) (ForceLayoutOpts n_a17xZ)
- Diagrams.TwoD.Layout.Tree: slHSep :: forall n_a13Rv a_a13Rw. Lens' (SymmLayoutOpts n_a13Rv a_a13Rw) n_a13Rv
+ Diagrams.TwoD.Layout.Tree: slHSep :: forall n_a17aW a_a17aX. Lens' (SymmLayoutOpts n_a17aW a_a17aX) n_a17aW
- Diagrams.TwoD.Layout.Tree: slHeight :: forall n_a13Rv a_a13Rw. Lens' (SymmLayoutOpts n_a13Rv a_a13Rw) (a_a13Rw -> (n_a13Rv, n_a13Rv))
+ Diagrams.TwoD.Layout.Tree: slHeight :: forall n_a17aW a_a17aX. Lens' (SymmLayoutOpts n_a17aW a_a17aX) (a_a17aX -> (n_a17aW, n_a17aW))
- Diagrams.TwoD.Layout.Tree: slVSep :: forall n_a13Rv a_a13Rw. Lens' (SymmLayoutOpts n_a13Rv a_a13Rw) n_a13Rv
+ Diagrams.TwoD.Layout.Tree: slVSep :: forall n_a17aW a_a17aX. Lens' (SymmLayoutOpts n_a17aW a_a17aX) n_a17aW
- Diagrams.TwoD.Layout.Tree: slWidth :: forall n_a13Rv a_a13Rw. Lens' (SymmLayoutOpts n_a13Rv a_a13Rw) (a_a13Rw -> (n_a13Rv, n_a13Rv))
+ Diagrams.TwoD.Layout.Tree: slWidth :: forall n_a17aW a_a17aX. Lens' (SymmLayoutOpts n_a17aW a_a17aX) (a_a17aX -> (n_a17aW, n_a17aW))
- Diagrams.TwoD.Layout.Tree: springK :: forall n_a14cu. Lens' (ForceLayoutTreeOpts n_a14cu) n_a14cu
+ Diagrams.TwoD.Layout.Tree: springK :: forall n_a17xZ. Lens' (ForceLayoutTreeOpts n_a17xZ) n_a17xZ
- Diagrams.TwoD.Layout.Tree: staticK :: forall n_a14cu. Lens' (ForceLayoutTreeOpts n_a14cu) n_a14cu
+ Diagrams.TwoD.Layout.Tree: staticK :: forall n_a17xZ. Lens' (ForceLayoutTreeOpts n_a17xZ) n_a17xZ
- Diagrams.TwoD.Path.Metafont.Types: c1 :: forall n_aBze. Lens' (ControlJoin n_aBze) (P2 n_aBze)
+ Diagrams.TwoD.Path.Metafont.Types: c1 :: forall n_aCqs. Lens' (ControlJoin n_aCqs) (P2 n_aCqs)
- Diagrams.TwoD.Path.Metafont.Types: c2 :: forall n_aBze. Lens' (ControlJoin n_aBze) (P2 n_aBze)
+ Diagrams.TwoD.Path.Metafont.Types: c2 :: forall n_aCqs. Lens' (ControlJoin n_aCqs) (P2 n_aCqs)
- Diagrams.TwoD.Path.Metafont.Types: d1 :: forall d_aAPe j_aAPf. Lens' (PathJoin d_aAPe j_aAPf) d_aAPe
+ Diagrams.TwoD.Path.Metafont.Types: d1 :: forall d_aBFo j_aBFp. Lens' (PathJoin d_aBFo j_aBFp) d_aBFo
- Diagrams.TwoD.Path.Metafont.Types: d2 :: forall d_aAPe j_aAPf. Lens' (PathJoin d_aAPe j_aAPf) d_aAPe
+ Diagrams.TwoD.Path.Metafont.Types: d2 :: forall d_aBFo j_aBFp. Lens' (PathJoin d_aBFo j_aBFp) d_aBFo
- Diagrams.TwoD.Path.Metafont.Types: j :: forall d_aAPe j_aAPf j_aByC. Lens (PathJoin d_aAPe j_aAPf) (PathJoin d_aAPe j_aByC) j_aAPf j_aByC
+ Diagrams.TwoD.Path.Metafont.Types: j :: forall d_aBFo j_aBFp j_aCpQ. Lens (PathJoin d_aBFo j_aBFp) (PathJoin d_aBFo j_aCpQ) j_aBFp j_aCpQ
- Diagrams.TwoD.Path.Metafont.Types: loop :: forall d_aBIq j_aBIr n_aBIs. Lens' (MFPath d_aBIq j_aBIr n_aBIs) Bool
+ Diagrams.TwoD.Path.Metafont.Types: loop :: forall d_aCzE j_aCzF n_aCzG. Lens' (MFPath d_aCzE j_aCzF n_aCzG) Bool
- Diagrams.TwoD.Path.Metafont.Types: pj :: forall d_aBIt j_aBIu n_aBIv d_aBQf j_aBQg. Lens (MetafontSegment d_aBIt j_aBIu n_aBIv) (MetafontSegment d_aBQf j_aBQg n_aBIv) (PathJoin d_aBIt j_aBIu) (PathJoin d_aBQf j_aBQg)
+ Diagrams.TwoD.Path.Metafont.Types: pj :: forall d_aCzH j_aCzI n_aCzJ d_aCHt j_aCHu. Lens (MetafontSegment d_aCzH j_aCzI n_aCzJ) (MetafontSegment d_aCHt j_aCHu n_aCzJ) (PathJoin d_aCzH j_aCzI) (PathJoin d_aCHt j_aCHu)
- Diagrams.TwoD.Path.Metafont.Types: segs :: forall d_aBIq j_aBIr n_aBIs d_aBSm j_aBSn n_aBSo. Lens (MFPath d_aBIq j_aBIr n_aBIs) (MFPath d_aBSm j_aBSn n_aBSo) [MetafontSegment d_aBIq j_aBIr n_aBIs] [MetafontSegment d_aBSm j_aBSn n_aBSo]
+ Diagrams.TwoD.Path.Metafont.Types: segs :: forall d_aCzE j_aCzF n_aCzG d_aCJA j_aCJB n_aCJC. Lens (MFPath d_aCzE j_aCzF n_aCzG) (MFPath d_aCJA j_aCJB n_aCJC) [MetafontSegment d_aCzE j_aCzF n_aCzG] [MetafontSegment d_aCJA j_aCJB n_aCJC]
- Diagrams.TwoD.Path.Metafont.Types: t1 :: forall n_aBzf. Lens' (TensionJoin n_aBzf) (Tension n_aBzf)
+ Diagrams.TwoD.Path.Metafont.Types: t1 :: forall n_aCqt. Lens' (TensionJoin n_aCqt) (Tension n_aCqt)
- Diagrams.TwoD.Path.Metafont.Types: t2 :: forall n_aBzf. Lens' (TensionJoin n_aBzf) (Tension n_aBzf)
+ Diagrams.TwoD.Path.Metafont.Types: t2 :: forall n_aCqt. Lens' (TensionJoin n_aCqt) (Tension n_aCqt)
- Diagrams.TwoD.Path.Metafont.Types: x1 :: forall d_aBIt j_aBIu n_aBIv. Lens' (MetafontSegment d_aBIt j_aBIu n_aBIv) (P2 n_aBIv)
+ Diagrams.TwoD.Path.Metafont.Types: x1 :: forall d_aCzH j_aCzI n_aCzJ. Lens' (MetafontSegment d_aCzH j_aCzI n_aCzJ) (P2 n_aCzJ)
- Diagrams.TwoD.Path.Metafont.Types: x2 :: forall d_aBIt j_aBIu n_aBIv. Lens' (MetafontSegment d_aBIt j_aBIu n_aBIv) (P2 n_aBIv)
+ Diagrams.TwoD.Path.Metafont.Types: x2 :: forall d_aCzH j_aCzI n_aCzJ. Lens' (MetafontSegment d_aCzH j_aCzI n_aCzJ) (P2 n_aCzJ)
- Diagrams.TwoD.Sunburst: colors :: forall n_anor. Lens' (SunburstOpts n_anor) [Colour Double]
+ Diagrams.TwoD.Sunburst: colors :: forall n_anQF. Lens' (SunburstOpts n_anQF) [Colour Double]
- Diagrams.TwoD.Sunburst: radius :: forall n_anor. Lens' (SunburstOpts n_anor) n_anor
+ Diagrams.TwoD.Sunburst: radius :: forall n_anQF. Lens' (SunburstOpts n_anQF) n_anQF
- Diagrams.TwoD.Sunburst: sectionWidth :: forall n_anor. Lens' (SunburstOpts n_anor) n_anor
+ Diagrams.TwoD.Sunburst: sectionWidth :: forall n_anQF. Lens' (SunburstOpts n_anQF) n_anQF

Files

CHANGES.markdown view
@@ -1,7 +1,19 @@+1.4.1 (3 July 2017)+---------------------++- allow QuickCheck-2.10+- allow base-4.10 (for GHC-8.2)+- allow MonadRandom-0.5+- export some things inadvertently unexported from Diagrams.TwoD.Grid (#68)+ 1.4.0.1 (13 November 2016) --------------------------  - allow `cubicbezier-0.5`+- allow `HUnit-1.6` (Hackage revision 2, 21 March 2017)++- Revision 2 on Hackage requires `cubicbezier-0.6` (which has some+  relevant bug fixes).  1.4 (2016-10-26) ----------------
diagrams-contrib.cabal view
@@ -1,5 +1,5 @@ name:                diagrams-contrib-version:             1.4.0.1+version:             1.4.1 synopsis:            Collection of user contributions to diagrams EDSL description:         A collection of user contributions for diagrams,                      an embedded domain-specific language for generation@@ -15,7 +15,7 @@ cabal-version:       >=1.10 extra-source-files:  README.markdown, CHANGES.markdown, diagrams/*.svg, CONTRIBUTORS extra-doc-files:     diagrams/*.svg-tested-with:         GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1+tested-with:         GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1, GHC == 8.2.1 Source-repository head   type:     git   location: http://github.com/diagrams/diagrams-contrib.git@@ -50,7 +50,7 @@                        Diagrams.TwoD.Path.Metafont.Internal                        Diagrams.TwoD.Path.Metafont.Combinators                        Diagrams.TwoD.Path.Metafont.Parser-  build-depends:       base >= 4.2 && < 4.10,+  build-depends:       base >= 4.2 && < 4.11,                        mtl >= 2.0 && < 2.3,                        mtl-compat >= 0.2.1 && < 0.3,                        containers > 0.4 && < 0.6,@@ -65,14 +65,14 @@                        linear >= 1.11.3 && < 1.21,                        force-layout >= 0.4 && < 0.5,                        data-default >= 0.5.2 && < 0.8,-                       MonadRandom >= 0.1.8 && < 0.5,+                       MonadRandom >= 0.1.8 && < 0.6,                        random >= 1.0 && < 1.2,                        circle-packing >= 0.1 && < 0.2,                        parsec >= 3.1 && < 3.2,                        text >= 0.11 && < 1.3,                        data-default-class < 0.2,                        semigroups >= 0.3.4 && < 0.19,-                       cubicbezier >= 0.4.0.1 && < 0.6,+                       cubicbezier >= 0.6 && < 0.7,                        hashable >= 0.1.2 && < 1.3,                        mfsolve >= 0.3 && < 0.4   hs-source-dirs:      src@@ -86,14 +86,14 @@    other-modules:       Diagrams.TwoD.Path.Turtle.Tests -  build-depends:       HUnit                      >= 1.2 && < 1.6,-                       QuickCheck                 >= 2.4 && < 2.10,+  build-depends:       HUnit                      >= 1.2 && < 1.7,+                       QuickCheck                 >= 2.4 && < 2.11,                        containers                 >= 0.3 && < 0.6,                        test-framework             >= 0.4 && < 0.9,                        test-framework-hunit       >= 0.2 && < 0.4,                        test-framework-quickcheck2 >= 0.2 && < 0.4, -                       base >= 4.2 && < 4.10,+                       base,                        diagrams-lib >= 1.4 && < 1.5    default-language:    Haskell2010
src/Diagrams/TwoD/Grid.hs view
@@ -92,8 +92,18 @@   , gridWithHalves'   , annotate   , gridLine+  , gridLine'   , gridLines   , placeDiagramOnGrid++  -- * Options++  , GridOpts(..)+  , gridLineWidth, gridYColour, gridXColour, gridLL, gridLR, gridUL++  , HighlightLineOpts(..)+  , highLightLineColour, highLightLineWidth+  , highLightLineDashingOnOff, highLightLineDashingOffset   ) where  import           Diagrams.Prelude