Skip to content

Commit

Permalink
Use _ as type parameter of GADT
Browse files Browse the repository at this point in the history
  • Loading branch information
linoscope committed Dec 11, 2021
1 parent be9d72d commit ee68a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cpu/instruction.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
open Uints

type 'a arg =
type _ arg =
| Immediate8 : uint8 -> uint8 arg
| Immediate16 : uint16 -> uint16 arg
| Direct8 : uint16 -> uint8 arg
Expand Down
2 changes: 1 addition & 1 deletion lib/cpu/instruction.mli
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
open Uints

type 'a arg =
type _ arg =
| Immediate8 : uint8 -> uint8 arg
| Immediate16 : uint16 -> uint16 arg
| Direct8 : uint16 -> uint8 arg
Expand Down

0 comments on commit ee68a4b

Please sign in to comment.