c2hs icon indicating copy to clipboard operation
c2hs copied to clipboard

Is it possible to have C2HS know the "type" definition?

Open Magicloud opened this issue 7 years ago • 0 comments

Many types have builtin marshallers, like Int, Double. But if I had type X = Double, then I had to give explicit marshaller when using X.

Is it possible to have C2HS remember the type "X" somehow, and generate code just like it was "Double"?

Magicloud avatar Dec 11 '18 07:12 Magicloud