Skip to content

Commit

Permalink
Bump lens to 4.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
cchalmers committed Dec 2, 2014
1 parent bd6474e commit b64e765
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion diagrams-pgf.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Library
, directory >= 1.0 && < 1.4
, filepath >= 1.2 && < 1.4
, hashable >= 1.1 && < 1.3
, lens >= 3.8 && < 4.6
, lens >= 3.8 && < 4.7
, mtl >= 2.1 && < 3.0
, optparse-applicative >= 0.11 && < 0.12
, process >= 1.0 && < 1.3
Expand Down
4 changes: 2 additions & 2 deletions src/Diagrams/Backend/PGF/Render.hs
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ toRender (Node (RAnnot (OpacityGroup x)) rs)
toRender (Node _ rs) = foldMap toRender rs


renderP :: (Renderable a PGF, Vn a ~ V2 n) => a -> P.Render n
renderP :: (Renderable a PGF, V a ~ V2, N a ~ n) => a -> P.Render n
renderP (render PGF -> R r) = r

instance Fractional n => Default (Options PGF V2 n) where
def = PGFOptions
{ _surface = def
, _sizeSpec = absolute
, _sizeSpec = absolute
, _readable = True
, _standalone = False
}
Expand Down

0 comments on commit b64e765

Please sign in to comment.