HGL 3.2.2 → 3.2.3.1
raw patch · 2 files changed
+4/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Graphics/HGL/Internals/Draw.hs +3/−2
- HGL.cabal +1/−1
Graphics/HGL/Internals/Draw.hs view
@@ -32,6 +32,7 @@ #endif import qualified Graphics.HGL.Internals.Utilities as Utils (bracket, bracket_) import Control.Monad (liftM, ap)+import Control.Applicative ---------------------------------------------------------------- -- Graphics@@ -74,7 +75,7 @@ -> (a -> Draw c) -- ^ the drawing action inside the bracket. -> Draw c bracket left right m = MkDraw (\ hdc ->- Utils.bracket (unDraw left hdc) + Utils.bracket (unDraw left hdc) (\ a -> unDraw (right a) hdc) (\ a -> unDraw (m a) hdc)) @@ -88,7 +89,7 @@ -> Draw c -- ^ the drawing action inside the bracket. -> Draw c bracket_ left right m = MkDraw (\ hdc ->- Utils.bracket_ (unDraw left hdc) + Utils.bracket_ (unDraw left hdc) (\ a -> unDraw (right a) hdc) (unDraw m hdc))
HGL.cabal view
@@ -1,5 +1,5 @@ name: HGL-version: 3.2.2+version: 3.2.3.1 license: BSD3 license-file: LICENSE author: Alastair Reid