Skip to content

Cannot derive eq and show #72

Description

@hirrolot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions