haskell-gi-base

Foundation for libraries generated by haskell-gi

https://github.com/haskell-gi/haskell-gi-base

Version on this page:0.20.4
LTS Haskell 22.21:0.26.4
Stackage Nightly 2024-05-06:0.26.4
Latest on Hackage:0.26.4

See all snapshots haskell-gi-base appears in

LGPL-2.1-only licensed by Will Thompson, Iñaki García Etxebarria, Jonas Platte
Maintained by Iñaki García Etxebarria ([email protected])
This version can be pinned in stack with:haskell-gi-base-0.20.4@sha256:b1b4182877504e244edd4a021501400e54fa68e24f2d43909158f32e31249f5b,2333

Module documentation for 0.20.4

  • Data
    • Data.GI
      • Data.GI.Base
        • Data.GI.Base.Attributes
        • Data.GI.Base.BasicConversions
        • Data.GI.Base.BasicTypes
        • Data.GI.Base.CallStack
        • Data.GI.Base.Closure
        • Data.GI.Base.Constructible
        • Data.GI.Base.GError
        • Data.GI.Base.GHashTable
        • Data.GI.Base.GObject
        • Data.GI.Base.GParamSpec
        • Data.GI.Base.GType
        • Data.GI.Base.GValue
        • Data.GI.Base.GVariant
        • Data.GI.Base.ManagedPtr
        • Data.GI.Base.Overloading
        • Data.GI.Base.Properties
        • Data.GI.Base.ShortPrelude
        • Data.GI.Base.Signals
        • Data.GI.Base.Utils

Foundation for libraries generated by haskell-gi

Changes

0.20.4

0.20.3

  • Fixes for GHC 8.2.1 (and the corresponding base-4.10.0).

0.20.2

  • Fix fromGVariant for empty arrays, see #91 for details.

0.20.1

  • Add Data.GI.Base.CallStack, abstracting (and backporting to the extent possible) the HasCallStack constraint present in newer GHCs. Using this, we now include callstacks pervasively in the generated code.

  • Improve the WrappedPtr implementation.

  • Deprecate nulltoNothing, it is better to simply fix the overrides when necessary.

  • Make the semantics of GObject ownership transfer closer to those used by the Python bindings.