Alastair Reid <reid@cs.utah.edu> writes: > Here's some code from the Xlib interface: hslibs/xlib/Xlib.gc > (This code is part of the HGL (http://haskell.org/graphics).) [...] > Hope this helps, It helped much. Thanks for the comments, especially. Now I'm going to check whether the garbage collector works: both the Haskell and the C representation won't fit in memory... Thanks again! Feri.