There's heaps of functionality in the generators regarding turning
typedef struct {
double myDouble;
size_t numInts;
int *myInts;
} foo;
into
data Foo = Foo
{ myDouble :: Double
, myInts :: Vector Int32
}
Wouldn't it be great to have a quasiquoter taking the former and outputting the latter, along with appropriate Storable or ToCStruct instances?