Open hirrolot opened 1 year ago
I currently have the following data type:
open Stdint type fixed_int = | U8 of Uint8.t | U16 of Uint16.t | U32 of Uint32.t | U64 of Uint64.t [@@deriving eq, show]
@@deriving panics because there is no equal and show methods for those integer types. I expect the above code to just compile.
@@deriving
equal
show
I currently have the following data type:
@@deriving
panics because there is noequal
andshow
methods for those integer types. I expect the above code to just compile.