From HaskellWiki
Revision as of 16:32, 6 July 2009 by Wolfgang Jeltsch (talk | contribs) (change to reflect the actual dissatisfactory state of the binding generator)

Jump to: navigation, search


HQK is an effort to provide Haskell bindings to large parts of the Qt and KDE libraries. The project may also be useful for bindings to other C++ libraries.


Thomas Mönicke has developed a generator which produces binding code mostly automatically. Alas, this generator is not really finished. At the moment, it is even difficult to compile it. If you want to experiment with it nevertheless, you can download it. I would be happy to hear from you whether you think that it is sensible to transform the current version into something that can be released.

In addition, Wolfgang Jeltsch has developed a small Haskell module for accessing object-oriented libraries in a convenient way. This module also supports parts of Qt’s signal-slot mechanism. In contrast to the original C++-based solution, type correctness of signal-slot connections is checked at compile time with this library.


If the binding generator will ever be finished, we want to develop a HQK-based UI backend for the Functional Reactive Programming library Grapefruit, thereby making Grapefruit multi-platform.