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
  • Loading branch information
aleeusgr committed Nov 13, 2024
1 parent 38cdce0 commit 9a49bec
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 9a49bec

Please sign in to comment.