Hello,<br><br> I am reading the FFI spec. The following is unclear to me. Say I have<br><br>data Bonzo = A | B |C<br><br>and I want to "poke" Bonzo to an Int<br><br>A -> 0<br><br>B -> 1<br><br>C -> 4<br>
<br>I have made Bonzo an instance of Storable.<br><br>How do I write the poke functions and call them?<br><br>Thanks, Vasili<br><br><br><br><br>