Skip to content

Commit

Permalink
Add equality to termbase types
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3kk1d committed Nov 20, 2024
1 parent 4ef6a65 commit 9efc22b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/haz3lcore/statics/TermBase.re
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ open Util;

let continue = x => x;
let stop = (_, x) => x;
[@deriving (show({with_path: false}), sexp, yojson)]
[@deriving (show({with_path: false}), sexp, yojson, eq)]
type deferral_position_t =
| InAp
| OutsideAp;
Expand Down Expand Up @@ -46,7 +46,7 @@ type deferral_position_t =
the id of the closure.
*/

[@deriving (show({with_path: false}), sexp, yojson)]
[@deriving (show({with_path: false}), sexp, yojson, eq)]
type any_t =
| Exp(exp_t)
| Pat(pat_t)
Expand Down

0 comments on commit 9efc22b

Please sign in to comment.