haskell-gi-base

Foundation for libraries generated by haskell-gi

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

Version on this page:0.20.1
LTS Haskell 22.19:0.26.4
Stackage Nightly 2024-04-27: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.1@sha256:7a20bf53e60ef055da5adab62d139625e31985565c18eadf9697028b1b500121,2317

Foundation for libraries generated by haskell-gi

Changes

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.