Closed marijanp closed 1 year ago
Should be easy to fix, by adding a corresponding BridgePart
here and adding it to the defaultBridge
.
@eskimor Do you have any opinions on what the respective PS type should be for Data.Word
?
There is purescript-word
Not really, except that bringing in a package might not be good for such a simple type. The suggested Data.UInt64 should be a safe bet, in case there is nothing more appropriate.
@eskimor I would like to stick with purescript-word it has tests and looks solid to me. I also talked to other purescript users, they agree and noted that an alternative would be to just use Number
. But I'ld like to have the type safety.
@eskimor I've created a PR, can I get a review?
Yes - I actually started already, but got distracted by other things.
When generating the purescript module for a type using
Data.Word
e.g.The converted code results in
Expected code is: