diagrams-svg 1.0.1 → 1.0.1.1
raw patch · 3 files changed
+10/−3 lines, 3 files
Files
- CHANGES.markdown +6/−0
- diagrams-svg.cabal +1/−1
- src/Diagrams/Backend/SVG.hs +3/−2
CHANGES.markdown view
@@ -1,3 +1,9 @@+1.0.1.1 (30 January 2014)+-------------------------++ - Work around a bug in GHC 7.4.2, which chokes when deriving Generic+ instances for associated data types.+ 1.0.1 (26 January 2014) -----------------------
diagrams-svg.cabal view
@@ -1,5 +1,5 @@ Name: diagrams-svg-Version: 1.0.1+Version: 1.0.1.1 Synopsis: SVG backend for diagrams drawing EDSL. Homepage: http://projects.haskell.org/diagrams/ License: BSD3
src/Diagrams/Backend/SVG.hs view
@@ -194,7 +194,6 @@ -- ^ Custom definitions that will be added to the @defs@ -- section of the output. }- deriving (Generic) doRender _ opts (R r) = evalState svgOutput initialSvgRenderState@@ -235,7 +234,9 @@ svgDefinitions :: Lens' (Options SVG R2) (Maybe S.Svg) svgDefinitions = lens getSVGDefs setSVGDefs -instance Hashable (Options SVG R2)+instance Hashable (Options SVG R2) where+ hashWithSalt s (SVGOptions sz defs) =+ s `hashWithSalt` sz `hashWithSalt` defs instance Hashable StaticString where hashWithSalt s (StaticString dl bs txt)