packages feed

xhb-atom-cache 0.1.0.1 → 0.1.0.2

raw patch · 2 files changed

+3/−5 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

src/Graphics/XHB/AtomCache.hs view
@@ -81,12 +81,10 @@ -- | Preseed the atom cache with `AtomLike`s. Example: -- -- @--- {-# LANGUAGE DeriveDataTypeable #-}+-- {-\# LANGUAGE DeriveDataTypeable \#-} ----- import Data.Maybe (fromJust) -- import Data.Typeable (Typeable) -- import Data.Hashable (Hashable(..))--- import Control.Applicative ((\<$\>)) -- import Control.Monad (forM_, void) -- import Control.Monad.IO.Class (liftIO) -- import Graphics.XHB (connect)@@ -106,7 +104,7 @@ -- -- main :: IO () -- main = do---     c <- fromJust \<$\> connect+--     Just c <- connect --     void $ runAtomCacheT . seedAtoms c atoms $ do --         forM_ atoms $ \\a -> unsafeLookupATOM a >>= liftIO . print -- @
xhb-atom-cache.cabal view
@@ -1,5 +1,5 @@ name:                xhb-atom-cache-version:             0.1.0.1+version:             0.1.0.2 synopsis:            Atom cache for XHB description:         Atom cache for XHB license:             BSD2