Skip to content

Commit

Permalink
Fix Ord instance for Assign to satisfy GHC missing methods warning
Browse files Browse the repository at this point in the history
Signed-off-by: Alex <[email protected]>
  • Loading branch information
aleeusgr committed Nov 18, 2024
1 parent a969593 commit 42818a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plutus-benchmark/nofib/src/PlutusBenchmark/NoFib/Queens.hs
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ instance TxPrelude.Eq Assign
where (a := b) == (a' := b') = a==a' && b==b'
instance TxPrelude.Ord Assign
where (a := b) < (a' := b') = (a<a') || (a==a' && b < b')
(a := b) <= (a' := b') = (a<a') || (a==a' && b <= b')

type Relation = Assign -> Assign -> Bool

Expand Down

0 comments on commit 42818a1

Please sign in to comment.