diagrams-contrib 1.4.5.1 → 1.4.6
raw patch · 3 files changed
+25/−14 lines, 3 filesdep −data-default-classdep ~QuickCheckdep ~basedep ~data-defaultPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies removed: data-default-class
Dependency ranges changed: QuickCheck, base, data-default, diagrams-lib, monoid-extras, random
API changes (from Hackage documentation)
- Diagrams.TwoD.Grid: instance (GHC.Float.Floating n, GHC.Classes.Ord n) => Data.Default.Class.Default (Diagrams.TwoD.Grid.GridOpts n)
- Diagrams.TwoD.Grid: instance (GHC.Float.Floating n, GHC.Classes.Ord n) => Data.Default.Class.Default (Diagrams.TwoD.Grid.HighlightLineOpts n)
- Diagrams.TwoD.Layout.Tree: instance GHC.Float.Floating n => Data.Default.Class.Default (Diagrams.TwoD.Layout.Tree.ForceLayoutTreeOpts n)
- Diagrams.TwoD.Layout.Tree: instance GHC.Num.Num n => Data.Default.Class.Default (Diagrams.TwoD.Layout.Tree.SymmLayoutOpts n a)
- Diagrams.TwoD.Path.Metafont.Types: instance (GHC.Show.Show d, GHC.Show.Show j) => GHC.Show.Show (Diagrams.TwoD.Path.Metafont.Types.PathJoin d j)
- Diagrams.TwoD.Path.Metafont.Types: instance (GHC.Show.Show n, GHC.Show.Show d, GHC.Show.Show j) => GHC.Show.Show (Diagrams.TwoD.Path.Metafont.Types.MFPath d j n)
- Diagrams.TwoD.Path.Metafont.Types: instance (GHC.Show.Show n, GHC.Show.Show d, GHC.Show.Show j) => GHC.Show.Show (Diagrams.TwoD.Path.Metafont.Types.MetafontSegment d j n)
- Diagrams.TwoD.Sunburst: instance GHC.Real.Fractional n => Data.Default.Class.Default (Diagrams.TwoD.Sunburst.SunburstOpts n)
+ Diagrams.TwoD.Grid: instance (GHC.Float.Floating n, GHC.Classes.Ord n) => Data.Default.Internal.Default (Diagrams.TwoD.Grid.GridOpts n)
+ Diagrams.TwoD.Grid: instance (GHC.Float.Floating n, GHC.Classes.Ord n) => Data.Default.Internal.Default (Diagrams.TwoD.Grid.HighlightLineOpts n)
+ Diagrams.TwoD.Layout.Tree: instance GHC.Float.Floating n => Data.Default.Internal.Default (Diagrams.TwoD.Layout.Tree.ForceLayoutTreeOpts n)
+ Diagrams.TwoD.Layout.Tree: instance GHC.Num.Num n => Data.Default.Internal.Default (Diagrams.TwoD.Layout.Tree.SymmLayoutOpts n a)
+ Diagrams.TwoD.Path.Metafont.Types: instance (GHC.Show.Show j, GHC.Show.Show d) => GHC.Show.Show (Diagrams.TwoD.Path.Metafont.Types.PathJoin d j)
+ Diagrams.TwoD.Path.Metafont.Types: instance (GHC.Show.Show n, GHC.Show.Show j, GHC.Show.Show d) => GHC.Show.Show (Diagrams.TwoD.Path.Metafont.Types.MFPath d j n)
+ Diagrams.TwoD.Path.Metafont.Types: instance (GHC.Show.Show n, GHC.Show.Show j, GHC.Show.Show d) => GHC.Show.Show (Diagrams.TwoD.Path.Metafont.Types.MetafontSegment d j n)
+ Diagrams.TwoD.Sunburst: instance GHC.Real.Fractional n => Data.Default.Internal.Default (Diagrams.TwoD.Sunburst.SunburstOpts n)
- Diagrams.Example.Logo: a1 :: (V b ~ V2, HasOrigin b, Alignable b, R1 (V b), TrailLike b, Juxtaposable b, Semigroup b, Typeable (N b), HasStyle b, Transformable b) => b
+ Diagrams.Example.Logo: a1 :: (V b ~ V2, HasOrigin b, Alignable b, TrailLike b, Juxtaposable b, Semigroup b, Typeable (N b), HasStyle b, Transformable b) => b
- Diagrams.Example.Logo: grid :: (V a ~ V2, Monoid a, HasOrigin a, Juxtaposable a, TrailLike a, Alignable a, Transformable a, R2 (V a)) => a
+ Diagrams.Example.Logo: grid :: (V a ~ V2, Monoid a, HasOrigin a, Juxtaposable a, TrailLike a, Alignable a, Transformable a) => a
- Diagrams.Example.Logo: sierpinski :: (V a ~ V2, Semigroup a, Juxtaposable a, Num t, TrailLike a, R1 (V a), Alignable a, HasOrigin a, Eq t) => t -> a
+ Diagrams.Example.Logo: sierpinski :: (V a ~ V2, Semigroup a, Juxtaposable a, Num t, TrailLike a, Alignable a, HasOrigin a, Eq t) => t -> a
- Diagrams.TwoD.Grid: gridLL :: forall n_apSX. Lens' (GridOpts n_apSX) (V2 n_apSX)
+ Diagrams.TwoD.Grid: gridLL :: forall n_ampT. Lens' (GridOpts n_ampT) (V2 n_ampT)
- Diagrams.TwoD.Grid: gridLR :: forall n_apSX. Lens' (GridOpts n_apSX) (V2 n_apSX)
+ Diagrams.TwoD.Grid: gridLR :: forall n_ampT. Lens' (GridOpts n_ampT) (V2 n_ampT)
- Diagrams.TwoD.Grid: gridLineWidth :: forall n_apSX. Lens' (GridOpts n_apSX) (Measure n_apSX)
+ Diagrams.TwoD.Grid: gridLineWidth :: forall n_ampT. Lens' (GridOpts n_ampT) (Measure n_ampT)
- Diagrams.TwoD.Grid: gridUL :: forall n_apSX. Lens' (GridOpts n_apSX) (V2 n_apSX)
+ Diagrams.TwoD.Grid: gridUL :: forall n_ampT. Lens' (GridOpts n_ampT) (V2 n_ampT)
- Diagrams.TwoD.Grid: gridXColour :: forall n_apSX. Lens' (GridOpts n_apSX) (Colour Double)
+ Diagrams.TwoD.Grid: gridXColour :: forall n_ampT. Lens' (GridOpts n_ampT) (Colour Double)
- Diagrams.TwoD.Grid: gridYColour :: forall n_apSX. Lens' (GridOpts n_apSX) (Colour Double)
+ Diagrams.TwoD.Grid: gridYColour :: forall n_ampT. Lens' (GridOpts n_ampT) (Colour Double)
- Diagrams.TwoD.Grid: highLightLineColour :: forall n_apSW. Lens' (HighlightLineOpts n_apSW) (Colour Double)
+ Diagrams.TwoD.Grid: highLightLineColour :: forall n_ampS. Lens' (HighlightLineOpts n_ampS) (Colour Double)
- Diagrams.TwoD.Grid: highLightLineDashingOffset :: forall n_apSW. Lens' (HighlightLineOpts n_apSW) (Measure n_apSW)
+ Diagrams.TwoD.Grid: highLightLineDashingOffset :: forall n_ampS. Lens' (HighlightLineOpts n_ampS) (Measure n_ampS)
- Diagrams.TwoD.Grid: highLightLineDashingOnOff :: forall n_apSW. Lens' (HighlightLineOpts n_apSW) [Measure n_apSW]
+ Diagrams.TwoD.Grid: highLightLineDashingOnOff :: forall n_ampS. Lens' (HighlightLineOpts n_ampS) [Measure n_ampS]
- Diagrams.TwoD.Grid: highLightLineWidth :: forall n_apSW. Lens' (HighlightLineOpts n_apSW) (Measure n_apSW)
+ Diagrams.TwoD.Grid: highLightLineWidth :: forall n_ampS. Lens' (HighlightLineOpts n_ampS) (Measure n_ampS)
- Diagrams.TwoD.Layout.Tree: edgeLen :: forall n_aBHd. Lens' (ForceLayoutTreeOpts n_aBHd) n_aBHd
+ Diagrams.TwoD.Layout.Tree: edgeLen :: forall n_aqTq. Lens' (ForceLayoutTreeOpts n_aqTq) n_aqTq
- Diagrams.TwoD.Layout.Tree: forceLayoutOpts :: forall n_aBHd. Lens' (ForceLayoutTreeOpts n_aBHd) (ForceLayoutOpts n_aBHd)
+ Diagrams.TwoD.Layout.Tree: forceLayoutOpts :: forall n_aqTq. Lens' (ForceLayoutTreeOpts n_aqTq) (ForceLayoutOpts n_aqTq)
- Diagrams.TwoD.Layout.Tree: slHSep :: forall n_aBbb a_aBbc. Lens' (SymmLayoutOpts n_aBbb a_aBbc) n_aBbb
+ Diagrams.TwoD.Layout.Tree: slHSep :: forall n_aqx6 a_aqx7. Lens' (SymmLayoutOpts n_aqx6 a_aqx7) n_aqx6
- Diagrams.TwoD.Layout.Tree: slHeight :: forall n_aBbb a_aBbc. Lens' (SymmLayoutOpts n_aBbb a_aBbc) (a_aBbc -> (n_aBbb, n_aBbb))
+ Diagrams.TwoD.Layout.Tree: slHeight :: forall n_aqx6 a_aqx7. Lens' (SymmLayoutOpts n_aqx6 a_aqx7) (a_aqx7 -> (n_aqx6, n_aqx6))
- Diagrams.TwoD.Layout.Tree: slVSep :: forall n_aBbb a_aBbc. Lens' (SymmLayoutOpts n_aBbb a_aBbc) n_aBbb
+ Diagrams.TwoD.Layout.Tree: slVSep :: forall n_aqx6 a_aqx7. Lens' (SymmLayoutOpts n_aqx6 a_aqx7) n_aqx6
- Diagrams.TwoD.Layout.Tree: slWidth :: forall n_aBbb a_aBbc. Lens' (SymmLayoutOpts n_aBbb a_aBbc) (a_aBbc -> (n_aBbb, n_aBbb))
+ Diagrams.TwoD.Layout.Tree: slWidth :: forall n_aqx6 a_aqx7. Lens' (SymmLayoutOpts n_aqx6 a_aqx7) (a_aqx7 -> (n_aqx6, n_aqx6))
- Diagrams.TwoD.Layout.Tree: springK :: forall n_aBHd. Lens' (ForceLayoutTreeOpts n_aBHd) n_aBHd
+ Diagrams.TwoD.Layout.Tree: springK :: forall n_aqTq. Lens' (ForceLayoutTreeOpts n_aqTq) n_aqTq
- Diagrams.TwoD.Layout.Tree: staticK :: forall n_aBHd. Lens' (ForceLayoutTreeOpts n_aBHd) n_aBHd
+ Diagrams.TwoD.Layout.Tree: staticK :: forall n_aqTq. Lens' (ForceLayoutTreeOpts n_aqTq) n_aqTq
- Diagrams.TwoD.Path.Metafont.Types: c1 :: forall n_aKju. Lens' (ControlJoin n_aKju) (P2 n_aKju)
+ Diagrams.TwoD.Path.Metafont.Types: c1 :: forall n_au9r. Lens' (ControlJoin n_au9r) (P2 n_au9r)
- Diagrams.TwoD.Path.Metafont.Types: c2 :: forall n_aKju. Lens' (ControlJoin n_aKju) (P2 n_aKju)
+ Diagrams.TwoD.Path.Metafont.Types: c2 :: forall n_au9r. Lens' (ControlJoin n_au9r) (P2 n_au9r)
- Diagrams.TwoD.Path.Metafont.Types: d1 :: forall d_aKf5 j_aKf6. Lens' (PathJoin d_aKf5 j_aKf6) d_aKf5
+ Diagrams.TwoD.Path.Metafont.Types: d1 :: forall d_au5z j_au5A. Lens' (PathJoin d_au5z j_au5A) d_au5z
- Diagrams.TwoD.Path.Metafont.Types: d2 :: forall d_aKf5 j_aKf6. Lens' (PathJoin d_aKf5 j_aKf6) d_aKf5
+ Diagrams.TwoD.Path.Metafont.Types: d2 :: forall d_au5z j_au5A. Lens' (PathJoin d_au5z j_au5A) d_au5z
- Diagrams.TwoD.Path.Metafont.Types: j :: forall d_aKf5 j_aKf6 j_aKiS. Lens (PathJoin d_aKf5 j_aKf6) (PathJoin d_aKf5 j_aKiS) j_aKf6 j_aKiS
+ Diagrams.TwoD.Path.Metafont.Types: j :: forall d_au5z j_au5A j_au8P. Lens (PathJoin d_au5z j_au5A) (PathJoin d_au5z j_au8P) j_au5A j_au8P
- Diagrams.TwoD.Path.Metafont.Types: loop :: forall d_aKud j_aKue n_aKuf. Lens' (MFPath d_aKud j_aKue n_aKuf) Bool
+ Diagrams.TwoD.Path.Metafont.Types: loop :: forall d_aulL j_aulM n_aulN. Lens' (MFPath d_aulL j_aulM n_aulN) Bool
- Diagrams.TwoD.Path.Metafont.Types: pj :: forall d_aKug j_aKuh n_aKui d_aKDi j_aKDj. Lens (MetafontSegment d_aKug j_aKuh n_aKui) (MetafontSegment d_aKDi j_aKDj n_aKui) (PathJoin d_aKug j_aKuh) (PathJoin d_aKDi j_aKDj)
+ Diagrams.TwoD.Path.Metafont.Types: pj :: forall d_aulO j_aulP n_aulQ d_auvB j_auvC. Lens (MetafontSegment d_aulO j_aulP n_aulQ) (MetafontSegment d_auvB j_auvC n_aulQ) (PathJoin d_aulO j_aulP) (PathJoin d_auvB j_auvC)
- Diagrams.TwoD.Path.Metafont.Types: segs :: forall d_aKud j_aKue n_aKuf d_aKFM j_aKFN n_aKFO. Lens (MFPath d_aKud j_aKue n_aKuf) (MFPath d_aKFM j_aKFN n_aKFO) [MetafontSegment d_aKud j_aKue n_aKuf] [MetafontSegment d_aKFM j_aKFN n_aKFO]
+ Diagrams.TwoD.Path.Metafont.Types: segs :: forall d_aulL j_aulM n_aulN d_auyq j_auyr n_auys. Lens (MFPath d_aulL j_aulM n_aulN) (MFPath d_auyq j_auyr n_auys) [MetafontSegment d_aulL j_aulM n_aulN] [MetafontSegment d_auyq j_auyr n_auys]
- Diagrams.TwoD.Path.Metafont.Types: t1 :: forall n_aKjv. Lens' (TensionJoin n_aKjv) (Tension n_aKjv)
+ Diagrams.TwoD.Path.Metafont.Types: t1 :: forall n_au9s. Lens' (TensionJoin n_au9s) (Tension n_au9s)
- Diagrams.TwoD.Path.Metafont.Types: t2 :: forall n_aKjv. Lens' (TensionJoin n_aKjv) (Tension n_aKjv)
+ Diagrams.TwoD.Path.Metafont.Types: t2 :: forall n_au9s. Lens' (TensionJoin n_au9s) (Tension n_au9s)
- Diagrams.TwoD.Path.Metafont.Types: x1 :: forall d_aKug j_aKuh n_aKui. Lens' (MetafontSegment d_aKug j_aKuh n_aKui) (P2 n_aKui)
+ Diagrams.TwoD.Path.Metafont.Types: x1 :: forall d_aulO j_aulP n_aulQ. Lens' (MetafontSegment d_aulO j_aulP n_aulQ) (P2 n_aulQ)
- Diagrams.TwoD.Path.Metafont.Types: x2 :: forall d_aKug j_aKuh n_aKui. Lens' (MetafontSegment d_aKug j_aKuh n_aKui) (P2 n_aKui)
+ Diagrams.TwoD.Path.Metafont.Types: x2 :: forall d_aulO j_aulP n_aulQ. Lens' (MetafontSegment d_aulO j_aulP n_aulQ) (P2 n_aulQ)
- Diagrams.TwoD.Sunburst: colors :: forall n_aZNs. Lens' (SunburstOpts n_aZNs) [Colour Double]
+ Diagrams.TwoD.Sunburst: colors :: forall n_aCke. Lens' (SunburstOpts n_aCke) [Colour Double]
- Diagrams.TwoD.Sunburst: radius :: forall n_aZNs. Lens' (SunburstOpts n_aZNs) n_aZNs
+ Diagrams.TwoD.Sunburst: radius :: forall n_aCke. Lens' (SunburstOpts n_aCke) n_aCke
- Diagrams.TwoD.Sunburst: sectionWidth :: forall n_aZNs. Lens' (SunburstOpts n_aZNs) n_aZNs
+ Diagrams.TwoD.Sunburst: sectionWidth :: forall n_aCke. Lens' (SunburstOpts n_aCke) n_aCke
Files
- CHANGES.markdown +12/−0
- diagrams-contrib.cabal +12/−13
- src/Diagrams/TwoD/Sunburst.hs +1/−1
CHANGES.markdown view
@@ -1,7 +1,19 @@+1.4.6 (29 Oct 2024)+-------------------++- Upgrade to require `data-default-0.8` and drop dependency on `data-default-class`+ 1.4.5.1 (10 July 2023) ---------------------- - Allow `base-4.18`, `mtl-2.3`, and test with GHC 9.6++- Hackage revisions+ - r1 (26 Jan 2024): allow `base-4.19`, `text-2.1`, and test with+ GHC 9.8+ - r2 (17 Sep 2024): Allow `base-4.20`, `containers-0.7`,+ `lens-5.3`, `linear-1.23`, `hashable-1.5`, `QuickCheck-2.15`,+ and test with GHC 9.10 1.4.5 (12 Nov 2022) -------------------
diagrams-contrib.cabal view
@@ -1,5 +1,5 @@ name: diagrams-contrib-version: 1.4.5.1+version: 1.4.6 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.18 extra-source-files: README.markdown, diagrams/*.svg, CONTRIBUTORS extra-doc-files: diagrams/*.svg, CHANGES.markdown-tested-with: GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.5 || ==9.6.1+tested-with: GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1 Source-repository head type: git location: http://github.com/diagrams/diagrams-contrib.git@@ -51,10 +51,10 @@ Diagrams.TwoD.Path.Metafont.Internal Diagrams.TwoD.Path.Metafont.Combinators Diagrams.TwoD.Path.Metafont.Parser- build-depends: base >= 4.8 && < 4.19,+ build-depends: base >= 4.8 && < 4.21, mtl >= 2.0 && < 2.4, mtl-compat >= 0.2.1 && < 0.3,- containers > 0.4 && < 0.7,+ containers > 0.4 && < 0.8, split >= 0.2.1 && < 0.3, colour >= 2.3.1 && < 2.4, split >= 0.2.1 && < 0.3,@@ -62,19 +62,18 @@ diagrams-core >= 1.4 && < 1.6, diagrams-lib >= 1.4 && < 1.5, diagrams-solve >= 0.1 && < 0.2,- lens >= 4.0 && < 5.3,- linear >= 1.11.3 && < 1.23,+ lens >= 4.0 && < 5.4,+ linear >= 1.11.3 && < 1.24, force-layout >= 0.4 && < 0.5,- data-default >= 0.5.2 && < 0.8,+ data-default >= 0.8 && < 0.9, MonadRandom >= 0.1.8 && < 0.7, random >= 1.0 && < 1.3, circle-packing >= 0.1 && < 0.2, parsec >= 3.1 && < 3.2,- text >= 0.11 && < 2.1,- data-default-class < 0.2,+ text >= 0.11 && < 2.2, semigroups >= 0.3.4 && < 0.21, cubicbezier >= 0.6 && < 0.7,- hashable >= 0.1.2 && < 1.5,+ hashable >= 0.1.2 && < 1.6, mfsolve >= 0.3 && < 0.4 hs-source-dirs: src default-language: Haskell2010@@ -89,13 +88,13 @@ Diagrams.TwoD.Path.Turtle.Internal build-depends: HUnit >= 1.2 && < 1.7,- QuickCheck >= 2.4 && < 2.15,- containers >= 0.3 && < 0.7,+ QuickCheck >= 2.4 && < 2.16,+ containers >= 0.3 && < 0.8, test-framework >= 0.4 && < 0.9, test-framework-hunit >= 0.2 && < 0.4, test-framework-quickcheck2 >= 0.2 && < 0.4, - base,+ base >= 4.8 && < 5, diagrams-lib >= 1.4 && < 1.5 default-language: Haskell2010
src/Diagrams/TwoD/Sunburst.hs view
@@ -35,7 +35,7 @@ , colors ) where -import Data.Default.Class+import Data.Default import qualified Data.Foldable as F import Data.Tree import Diagrams.Prelude hiding (radius)