Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
840b0f0
feat(plutus-tx): add deriveEq Template Haskell function
Unisay Feb 9, 2026
0a41dd9
test(plutus-tx): add unit and golden tests for deriveEq
Unisay Feb 9, 2026
4779c85
refactor(plutus-tx): replace manual Eq instances with deriveEq
Unisay Feb 9, 2026
dd111ae
refactor(plutus-ledger-api): replace manual Eq instances with deriveEq
Unisay Feb 9, 2026
5b79906
test: add golden tests for deriveEq generated code
Unisay Feb 9, 2026
55c7864
test: regenerate golden files affected by deriveEq
Unisay Feb 9, 2026
79f9989
docs: add changelog entries for deriveEq feature
Unisay Feb 9, 2026
18ceea2
test: update AST size golden for Rational.compare after deriveEq changes
Unisay Feb 9, 2026
09cd4d6
test: make deriveEq golden tests deterministic for asData types
Unisay Feb 9, 2026
dea0a18
test: regenerate golden files for cardano-constitution and plutus-ben…
Unisay Feb 9, 2026
a01f9eb
fix: disable plutus-ledger-api-test on Windows (needs diff)
Unisay Feb 9, 2026
49cd7ab
refactor: replace TH.pprint with custom width-aware pretty-printer
Unisay Feb 12, 2026
e7ceaf7
style: remove commented-out deriveEq calls for AssocMap types
Unisay Feb 13, 2026
8056b41
style: add Haddock markers to MintValue Eq instance comments
Unisay Feb 13, 2026
e8155d5
fix: avoid incomplete record updates in Eq tests for GHC 9.12
Unisay Feb 13, 2026
98f016a
test: regenerate GHC 9.12 Enum golden files for new pretty-printer
Unisay Feb 16, 2026
f1817ba
test: regenerate GHC 9.12 IsData golden files for new pretty-printer
Unisay Feb 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2045
2042
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ExBudget {exBudgetCPU = ExCPU 406467137, exBudgetMemory = ExMemory 2070956}
ExBudget {exBudgetCPU = ExCPU 406371137, exBudgetMemory = ExMemory 2070356}
Original file line number Diff line number Diff line change
Expand Up @@ -247,37 +247,40 @@ program
Rational_match
ds
{bool}
(\(n : integer) (d : integer) ->
(\(l1l : integer) (l2l : integer) ->
Rational_match
ds
{bool}
(\(n' : integer) (d' : integer) ->
(\(r1r : integer) (r2r : integer) ->
case
(all dead. bool)
(equalsInteger n n')
(equalsInteger l1l r1r)
[ (/\dead -> False)
, (/\dead -> equalsInteger d d') ]
, (/\dead -> equalsInteger l2l r2r) ]
{all dead. dead})))
(\(ds : Rational) (ds : Rational) ->
(\(eta : Rational) (eta : Rational) ->
Rational_match
ds
eta
{Ordering}
(\(n : integer) (d : integer) ->
(\(ipv : integer) (ipv : integer) ->
Rational_match
ds
eta
{Ordering}
(\(n' : integer) (d' : integer) ->
let
!x : integer = multiplyInteger n d'
!y : integer = multiplyInteger n' d
in
(\(ipv : integer) (ipv : integer) ->
case
(all dead. Ordering)
(equalsInteger x y)
(case
(all dead. bool)
(equalsInteger ipv ipv)
[ (/\dead -> False)
, (/\dead -> equalsInteger ipv ipv) ]
{all dead. dead})
[ (/\dead ->
case
(all dead. Ordering)
(lessThanEqualsInteger x y)
(lessThanEqualsInteger
(multiplyInteger ipv ipv)
(multiplyInteger ipv ipv))
[(/\dead -> GT), (/\dead -> LT)]
{all dead. dead})
, (/\dead -> EQ) ]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ExBudget {exBudgetCPU = ExCPU 60269664, exBudgetMemory = ExMemory 276518}
ExBudget {exBudgetCPU = ExCPU 60173664, exBudgetMemory = ExMemory 275918}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2036
2044
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ExBudget {exBudgetCPU = ExCPU 568831992, exBudgetMemory = ExMemory 2943891}
ExBudget {exBudgetCPU = ExCPU 568927992, exBudgetMemory = ExMemory 2944491}
Original file line number Diff line number Diff line change
Expand Up @@ -245,37 +245,40 @@ program
Rational_match
ds
{bool}
(\(n : integer) (d : integer) ->
(\(l1l : integer) (l2l : integer) ->
Rational_match
ds
{bool}
(\(n' : integer) (d' : integer) ->
(\(r1r : integer) (r2r : integer) ->
case
(all dead. bool)
(equalsInteger n n')
(equalsInteger l1l r1r)
[ (/\dead -> False)
, (/\dead -> equalsInteger d d') ]
, (/\dead -> equalsInteger l2l r2r) ]
{all dead. dead})))
(\(ds : Rational) (ds : Rational) ->
(\(eta : Rational) (eta : Rational) ->
Rational_match
ds
eta
{Ordering}
(\(n : integer) (d : integer) ->
(\(ipv : integer) (ipv : integer) ->
Rational_match
ds
eta
{Ordering}
(\(n' : integer) (d' : integer) ->
let
!x : integer = multiplyInteger n d'
!y : integer = multiplyInteger n' d
in
(\(ipv : integer) (ipv : integer) ->
case
(all dead. Ordering)
(equalsInteger x y)
(case
(all dead. bool)
(equalsInteger ipv ipv)
[ (/\dead -> False)
, (/\dead -> equalsInteger ipv ipv) ]
{all dead. dead})
[ (/\dead ->
case
(all dead. Ordering)
(lessThanEqualsInteger x y)
(lessThanEqualsInteger
(multiplyInteger ipv ipv)
(multiplyInteger ipv ipv))
[(/\dead -> GT), (/\dead -> LT)]
{all dead. dead})
, (/\dead -> EQ) ]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ExBudget {exBudgetCPU = ExCPU 58587921, exBudgetMemory = ExMemory 267119}
ExBudget {exBudgetCPU = ExCPU 58683921, exBudgetMemory = ExMemory 267719}
Loading