Generate Haskell bindings for GObject Introspection capable libraries https://github.com/haskell-gi/haskell-gi

Version on this page:0.20.3
LTS Haskell 11.1:0.21.0
Stackage Nightly 2018-03-23:0.21.0
Latest on Hackage:0.21.0

See all snapshots haskell-gi appears in

LGPL-2.1 licensed by Will Thompson, Iñaki García Etxebarria, Jonas Platte

Generate Haskell bindings for GObject Introspection capable libraries. This includes most notably Gtk+, but many other libraries in the GObject ecosystem provide introspection data too.



  • Improve marshaling of array arguments with no specified size. This improves the generated bindings for various functions, for instance GObject.signalEmitv.

  • Replace the enable-overloading flags with a explicit CPP check of the version of haskell-gi-overloading we are being compiled against, see issue 124 for the rationale.


  • Make the overloading code protected by a CPP conditional, depending on ENABLE_OVERLOADING being defined. See issue 107.

  • Wrap boxed structs/unions as transient ManagedPtrs in callbacks. This is needed to fix a number of issues, including issue 96 and issue 97.


  • Fixes for GHC 8.2.1.


  • gtk-doc parser and haddock generator: while by no means perfect, now the autogenerated bindings come with some reasonable autogenerated documentation.

  • Many bugfixes. A particularly important one is for issue 82, which made compilation of gi-glib fail, for the latest version of gobject-introspection.

comments powered byDisqus