[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[Fedora-haskell-list] [ANNOUNCE] Bindings for libguestfs
- From: "Richard W.M. Jones" <rjones redhat com>
- To: haskell-cafe haskell org, fedora-haskell-list redhat com
- Cc:
- Subject: [Fedora-haskell-list] [ANNOUNCE] Bindings for libguestfs
- Date: Sun, 10 May 2009 16:22:54 +0100
I added some partial bindings for libguestfs[1] here:
http://git.et.redhat.com/?p=libguestfs.git;a=blob;f=haskell/Guestfs.hs;hb=HEAD
Some very simple example programs which use these bindings:
http://git.et.redhat.com/?p=libguestfs.git;a=tree;f=haskell;hb=HEAD
Any comments welcome. My Haskell skills are pretty terrible, so I'm
sure there are many ways these can be improved.
If someone wants to look at binding the rest of the API, then please
send me some patches. (Note that the Guestfs.hs file is automatically
generated).
BTW, I found the documentation on writing FFIs very contradictory and
incomplete. For example, I was completely defeated trying to find
ways to do simple stuff like passing in integers or returning
booleans. *Potentially* Haskell's FFI seems like it might be one of
the best out of the languages I've used so far, but it needs way more
documentation and examples.
Rich.
[1] http://et.redhat.com/~rjones/libguestfs/
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]