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.
I currently have the following data type:
@@derivingpanics because there is noequalandshowmethods for those integer types. I expect the above code to just compile.