Hello,<br><br> I don't want to write kludgy Haskell code!<br><br>typedef struct blah<br>{<br> int val1;<br><br> union {<br><br> int val2;<br><br> struct {<br><br> int val3;<br>
<br> int val4;<br> }<br> }<br>} C_type;<br><br>question: in Haskell, can I embed definition of the "union" inside of the C typedef, i.e. recursion definition? Or must I have a separate definition for the "union" which I "instantiate" inside the Haskell "typedef", i.e. Haskell "data"?<br>
<br>Kind regards, Vasili<br>