[Haskell] ANNOUNCE: X Haskell Bindings 0.2

Antoine Latter aslatter at gmail.com
Sun Feb 22 00:08:09 EST 2009

I'd like to announce the 0.2.* series release of the X Haskell
Bindings.  This release, like the prior 0.1.* series focuses on making
the API prettier.  This does mean that there's a good chance this is a
breaking release.  Also, 0.2.* is based on the just-released version
1.4 of the XML descriptions of the X protocol.

The goal of XHB is to provide a Haskell implementation of the X11 wire
protocol, similar in spirit to the X protocol C-language Binding

On Hackage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xhb

New this release:

In the core protocol, a lot of the fields which previously were of
type 'Word8' or 'Word16' now have appropriate higher-level types.

For example, in the type GetWindowAttributesReply, the 'class' field
was previously of type 'Word16', and is now of type 'WindowClass,'
and the 'all_event_masks' field was of type 'Word32' and is now of
type '[EventMask]'.

These improvements haven't made their way out to the extensions yet,
but the code-generation machinery is now in place for this to happen
as the information makes its way into the XML protocol description.

Related projects:

X C Bindings: http://xcb.freedesktop.org/


More information about the Haskell mailing list