[Haskell-cafe] Re: ANN: bindings-SDL 1.0.2, the domain specific language for FFI description

Maurí­cio CA mauricio.antunes at gmail.com
Thu Nov 19 19:16:27 EST 2009


 > I had two structs, one of which used the other as a field type.
 > I was using the generated identifier of the first as the type
 > for the second, so it had the form c'STRUCT_NAME. So the field
 > macro looked like this:
 >
 >   #field foo , c'STRUCT_NAME
 >
 > It did not like this, complaining about the single quote.
 >
 > I have since noticed the <STRUCT_NAME> notation in the
 > documentation. Perhaps the actual bug is that this notation was
 > not pointed out in prose?

I believe I forgot to write a section with that information, as
well as others one would like to know from start. I wrote a new
section trying to fix that in 'how to use it' topic.

http://bitbucket.org/mauricio/bindings-dsl/wiki/HowToUseIt

I'm not sure I have already got to a point where documentation is
clear and complete enough but not too long and boring. If you also
thing some parts of documentation were not helpful, or if more is
missing, please let me know.

Thanks for your feedback.
Maurício



More information about the Haskell-Cafe mailing list