lui 0.0.5 → 0.0.6
raw patch · 2 files changed
+3/−3 lines, 2 filesdep ~haskgamePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: haskgame
API changes (from Hackage documentation)
+ Graphics.UI.LUI.Accessor: null :: [a] -> Bool
- Graphics.UI.LUI.Accessor: aMapValue :: (Ord k) => k -> Accessor (Map k a) a
+ Graphics.UI.LUI.Accessor: aMapValue :: Ord k => k -> Accessor (Map k a) a
- Graphics.UI.LUI.Accessor: aMapValueDefault :: (Ord k) => a -> k -> Accessor (Map k a) a
+ Graphics.UI.LUI.Accessor: aMapValueDefault :: Ord k => a -> k -> Accessor (Map k a) a
Files
- lui.cabal +2/−2
- src/Graphics/UI/LUI/Run.hs +1/−1
lui.cabal view
@@ -1,5 +1,5 @@ Name: lui-Version: 0.0.5+Version: 0.0.6 Cabal-Version: >= 1.2 Synopsis: Purely FunctionaL User Interface Category: graphics@@ -27,7 +27,7 @@ Library hs-Source-Dirs: src Extensions:- Build-Depends: base >= 4 && < 5, haskell98, containers, mtl, SDL, haskgame, MaybeT+ Build-Depends: base >= 4 && < 5, haskell98, containers, mtl, SDL, haskgame >= 0.0.6, MaybeT Exposed-Modules: Graphics.UI.LUI.Accessor, Graphics.UI.LUI.Image, Graphics.UI.LUI.Run,
src/Graphics/UI/LUI/Run.hs view
@@ -58,7 +58,7 @@ mainLoop :: Widget model -> model -> IO model mainLoop widget initModel = do- display <- HaskGame.setVideoMode 800 600 16+ display <- HaskGame.setVideoMode (Vector2 800 600) 16 (`State.execStateT` initModel) . runMaybeT $ do forM_ (True:repeat False) $ \shouldDraw -> do events <- lift . lift $ HaskGame.getEvents