On Tue, 2009-08-04 at 07:07 +0300, Michael Snoyman wrote:
> Hi all,
>
> I've written a Yaml library built on top of libyaml (the same C
> library at the core of Python's yaml library). All is well on my local
> system and my server; I'm currently using it in production. However,
> the build is failing on Hackage with the following build log:
>
http://hackage.haskell.org/packages/archive/yaml/0.0.1/logs/failure/ghc-6.10.
>
> It seems that whichever version of C2HS is installed on the server
> does not allow "type" (or perhaps other keywords?) to be used as C
> identifiers. Unfortunately, "type" is the name of a field in a C
> struct I need to integrate with. It's obviously not vital that I get
> it to compile on hackage, but 1) I'm worried this is a sign of a
> bigger problem, and 2) it's always nice to have the API documentation
> available online.
>
> Any suggestions?