You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should automatically derive things like Eq, Ord, etc. for the types we generate (structs, enums, typedefs, ..). However, as part of #173 we discussed the importance of using Haskell newtype rather than type to translate C typedefs: we should be able to provide different instances. This implies it must also be possible to prevenths-bindgen from generating instances for specific types (note that rust bindgen also has features for preventing the derivation of certain classes, see #21).
The text was updated successfully, but these errors were encountered:
We should automatically derive things like
Eq
,Ord
, etc. for the types we generate (structs, enums, typedefs, ..). However, as part of #173 we discussed the importance of using Haskellnewtype
rather thantype
to translate Ctypedef
s: we should be able to provide different instances. This implies it must also be possible to prevenths-bindgen
from generating instances for specific types (note that rust bindgen also has features for preventing the derivation of certain classes, see #21).The text was updated successfully, but these errors were encountered: