packages feed

haskell-gi-base 0.18 → 0.18.1

raw patch · 3 files changed

+3/−3 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Data.GI.Base.GVariant: instance (GHC.Classes.Eq value, GHC.Classes.Eq key) => GHC.Classes.Eq (Data.GI.Base.GVariant.GVariantDictEntry key value)
- Data.GI.Base.GVariant: instance (GHC.Show.Show value, GHC.Show.Show key) => GHC.Show.Show (Data.GI.Base.GVariant.GVariantDictEntry key value)
+ Data.GI.Base.GVariant: instance (GHC.Classes.Eq key, GHC.Classes.Eq value) => GHC.Classes.Eq (Data.GI.Base.GVariant.GVariantDictEntry key value)
+ Data.GI.Base.GVariant: instance (GHC.Show.Show key, GHC.Show.Show value) => GHC.Show.Show (Data.GI.Base.GVariant.GVariantDictEntry key value)
- Data.GI.Base.ShortPrelude: (/=) :: Eq a => a -> a -> Bool
+ Data.GI.Base.ShortPrelude: (/=) :: a -> a -> Bool
- Data.GI.Base.ShortPrelude: (==) :: Eq a => a -> a -> Bool
+ Data.GI.Base.ShortPrelude: (==) :: a -> a -> Bool
- Data.GI.Base.ShortPrelude: (>>) :: Monad m => m a -> m b -> m b
+ Data.GI.Base.ShortPrelude: (>>) :: m a -> m b -> m b
- Data.GI.Base.ShortPrelude: (>>=) :: Monad m => m a -> (a -> m b) -> m b
+ Data.GI.Base.ShortPrelude: (>>=) :: m a -> (a -> m b) -> m b
- Data.GI.Base.ShortPrelude: fail :: Monad m => String -> m a
+ Data.GI.Base.ShortPrelude: fail :: String -> m a
- Data.GI.Base.ShortPrelude: fromEnum :: Enum a => a -> Int
+ Data.GI.Base.ShortPrelude: fromEnum :: a -> Int
- Data.GI.Base.ShortPrelude: return :: Monad m => a -> m a
+ Data.GI.Base.ShortPrelude: return :: a -> m a
- Data.GI.Base.ShortPrelude: show :: Show a => a -> String
+ Data.GI.Base.ShortPrelude: show :: a -> String
- Data.GI.Base.ShortPrelude: showList :: Show a => [a] -> ShowS
+ Data.GI.Base.ShortPrelude: showList :: [a] -> ShowS
- Data.GI.Base.ShortPrelude: showsPrec :: Show a => Int -> a -> ShowS
+ Data.GI.Base.ShortPrelude: showsPrec :: Int -> a -> ShowS
- Data.GI.Base.ShortPrelude: toEnum :: Enum a => Int -> a
+ Data.GI.Base.ShortPrelude: toEnum :: Int -> a

Files

haskell-gi-base.cabal view
@@ -1,5 +1,5 @@ name:                haskell-gi-base-version:             0.18+version:             0.18.1 synopsis:            Foundation for libraries generated by haskell-gi description:         Foundation for libraries generated by haskell-gi homepage:            https://github.com/haskell-gi/haskell-gi-base
src/Data/GI/Base/BasicConversions.hsc view
@@ -82,7 +82,7 @@ import Foreign.Storable (Storable, peek, poke, sizeOf) import Foreign.C.Types (CInt(..), CUInt(..), CSize(..), CChar(..)) import Foreign.C.String (CString, withCString, peekCString)-import Data.Word (Word8, Word64)+import Data.Word import Data.Int (Int32) import Data.Bits (Bits, (.|.), (.&.), shift) 
src/Data/GI/Base/BasicTypes.hs view
@@ -107,7 +107,7 @@ -- Raise a more understandable type error whenever the `GObject a` -- constraint is imposed on a type which has no such instance. This -- helps in the common case where one passes a wrong type (such as--- `Maybe Widget`) into a function with a `WidgetK a`+-- `Maybe Widget`) into a function with a `IsWidget a` -- constraint. Without this type error, the resulting type error is -- much less understandable, since GHC complains (at length) about a -- missing type family instance for `ParentTypes`.