Personal tools

HQK

From HaskellWiki

Jump to: navigation, search

1 About

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.

2 Achievements

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.

3 Applications

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.