diagrams 0.2.2 → 0.2.2.1
raw patch · 2 files changed
+6/−2 lines, 2 filesdep ~cairoPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: cairo
API changes (from Hackage documentation)
- Graphics.Rendering.Diagrams: fc :: (Color c) => c -> Diagram -> Diagram
+ Graphics.Rendering.Diagrams: fc :: Color c => c -> Diagram -> Diagram
- Graphics.Rendering.Diagrams: fillColor :: (Color c) => c -> Diagram -> Diagram
+ Graphics.Rendering.Diagrams: fillColor :: Color c => c -> Diagram -> Diagram
- Graphics.Rendering.Diagrams: lc :: (Color c) => c -> Diagram -> Diagram
+ Graphics.Rendering.Diagrams: lc :: Color c => c -> Diagram -> Diagram
- Graphics.Rendering.Diagrams: lineColor :: (Color c) => c -> Diagram -> Diagram
+ Graphics.Rendering.Diagrams: lineColor :: Color c => c -> Diagram -> Diagram
- Graphics.Rendering.Diagrams: shape :: (ShapeClass s) => s -> Diagram
+ Graphics.Rendering.Diagrams: shape :: ShapeClass s => s -> Diagram
- Graphics.Rendering.Diagrams.Attributes: fc :: (Color c) => c -> Diagram -> Diagram
+ Graphics.Rendering.Diagrams.Attributes: fc :: Color c => c -> Diagram -> Diagram
- Graphics.Rendering.Diagrams.Attributes: fillColor :: (Color c) => c -> Diagram -> Diagram
+ Graphics.Rendering.Diagrams.Attributes: fillColor :: Color c => c -> Diagram -> Diagram
- Graphics.Rendering.Diagrams.Attributes: lc :: (Color c) => c -> Diagram -> Diagram
+ Graphics.Rendering.Diagrams.Attributes: lc :: Color c => c -> Diagram -> Diagram
- Graphics.Rendering.Diagrams.Attributes: lineColor :: (Color c) => c -> Diagram -> Diagram
+ Graphics.Rendering.Diagrams.Attributes: lineColor :: Color c => c -> Diagram -> Diagram
- Graphics.Rendering.Diagrams.Types: attrSize :: (AttrClass a) => a -> Point -> Point
+ Graphics.Rendering.Diagrams.Types: attrSize :: AttrClass a => a -> Point -> Point
- Graphics.Rendering.Diagrams.Types: class (Functor f) => LayoutClass l f
+ Graphics.Rendering.Diagrams.Types: class Functor f => LayoutClass l f
- Graphics.Rendering.Diagrams.Types: colorToRGBA :: (Color c) => c -> (Double, Double, Double, Double)
+ Graphics.Rendering.Diagrams.Types: colorToRGBA :: Color c => c -> (Double, Double, Double, Double)
- Graphics.Rendering.Diagrams.Types: layoutSizeAndPos :: (LayoutClass l f) => l -> f (Point, Diagram) -> (Point, [Diagram])
+ Graphics.Rendering.Diagrams.Types: layoutSizeAndPos :: LayoutClass l f => l -> f (Point, Diagram) -> (Point, [Diagram])
- Graphics.Rendering.Diagrams.Types: renderAttr :: (AttrClass a) => a -> DiaRenderM (DiaRenderEnv -> DiaRenderEnv)
+ Graphics.Rendering.Diagrams.Types: renderAttr :: AttrClass a => a -> DiaRenderM (DiaRenderEnv -> DiaRenderEnv)
- Graphics.Rendering.Diagrams.Types: renderShape :: (ShapeClass s) => s -> DiaRenderM ()
+ Graphics.Rendering.Diagrams.Types: renderShape :: ShapeClass s => s -> DiaRenderM ()
- Graphics.Rendering.Diagrams.Types: setEnvFillColor :: (Color c) => c -> DiaRenderEnv -> DiaRenderEnv
+ Graphics.Rendering.Diagrams.Types: setEnvFillColor :: Color c => c -> DiaRenderEnv -> DiaRenderEnv
- Graphics.Rendering.Diagrams.Types: setEnvStrokeColor :: (Color c) => c -> DiaRenderEnv -> DiaRenderEnv
+ Graphics.Rendering.Diagrams.Types: setEnvStrokeColor :: Color c => c -> DiaRenderEnv -> DiaRenderEnv
- Graphics.Rendering.Diagrams.Types: shapeSize :: (ShapeClass s) => s -> Point
+ Graphics.Rendering.Diagrams.Types: shapeSize :: ShapeClass s => s -> Point
Files
- CHANGES +4/−0
- diagrams.cabal +2/−2
CHANGES view
@@ -1,3 +1,7 @@+Version 0.2.2.1: November 13, 2010++ * update cairo dependency; compiles fine with cairo 0.12+ Version 0.2.2: November 2, 2010 * update mtl dependency to 2.0. Note that due to the changed
diagrams.cabal view
@@ -1,5 +1,5 @@ Name: diagrams-Version: 0.2.2+Version: 0.2.2.1 Stability: experimental Description: An embedded domain-specific language (EDSL) for creating simple diagrams, built on top of the Cairo@@ -26,7 +26,7 @@ ghc-options: -Werror Build-Depends: base >= 2 && < 5, mtl >= 2.0 && < 2.1, containers >= 0.2 && < 0.4,- cairo >= 0.9 && < 0.12, colour >= 2.2.1 && < 2.4+ cairo >= 0.9 && < 0.13, colour >= 2.2.1 && < 2.4 Exposed-Modules: Graphics.Rendering.Diagrams, Graphics.Rendering.Diagrams.Types, Graphics.Rendering.Diagrams.Paths,