-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test plutus-tx-tests on all supported GHC versions (#5497)
- Loading branch information
Showing
707 changed files
with
15,256 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
({cpu: 1551053 | ||
| mem: 5602}) |
39 changes: 39 additions & 0 deletions
39
plutus-tx-plugin/test/Budget/9.6/allCheap.pir-readable.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
letrec | ||
data (List :: * -> *) a | List_match where | ||
Nil : List a | ||
Cons : a -> List a -> List a | ||
in | ||
let | ||
data Bool | Bool_match where | ||
True : Bool | ||
False : Bool | ||
in | ||
letrec | ||
!go : List integer -> Bool | ||
= \(ds : List integer) -> | ||
List_match | ||
{integer} | ||
ds | ||
{all dead. Bool} | ||
(/\dead -> True) | ||
(\(x : integer) (xs : List integer) -> | ||
/\dead -> | ||
Bool_match | ||
(ifThenElse {Bool} (lessThanEqualsInteger 1 x) False True) | ||
{all dead. Bool} | ||
(/\dead -> go xs) | ||
(/\dead -> False) | ||
{all dead. dead}) | ||
{all dead. dead} | ||
in | ||
let | ||
!eta : List integer | ||
= (let | ||
a = List integer | ||
in | ||
\(c : integer -> a -> a) (n : a) -> | ||
c 1 (c 2 (c 3 (c 4 (c 5 (c 6 (c 7 (c 8 (c 9 (c 10 n)))))))))) | ||
(\(ds : integer) (ds : List integer) -> Cons {integer} ds ds) | ||
(Nil {integer}) | ||
in | ||
go eta |
40 changes: 40 additions & 0 deletions
40
plutus-tx-plugin/test/Budget/9.6/allCheap.uplc-readable.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
program | ||
1.1.0 | ||
((\s -> | ||
s s) | ||
(\s x -> | ||
(\go -> | ||
force | ||
(case | ||
x | ||
[ (delay (constr 0 [])) | ||
, (\x xs -> | ||
delay | ||
(force | ||
(force ifThenElse | ||
(lessThanEqualsInteger 1 x) | ||
(delay (constr 1 [])) | ||
(delay (go xs))))) ])) | ||
(s s)) | ||
(constr 1 | ||
[ 1 | ||
, (constr 1 | ||
[ 2 | ||
, (constr 1 | ||
[ 3 | ||
, (constr 1 | ||
[ 4 | ||
, (constr 1 | ||
[ 5 | ||
, (constr 1 | ||
[ 6 | ||
, (constr 1 | ||
[ 7 | ||
, (constr 1 | ||
[ 8 | ||
, (constr 1 | ||
[ 9 | ||
, (constr 1 | ||
[ 10 | ||
, (constr 0 | ||
[ ]) ]) ]) ]) ]) ]) ]) ]) ]) ]) ])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
({cpu: 460100 | ||
| mem: 2100}) |
32 changes: 32 additions & 0 deletions
32
plutus-tx-plugin/test/Budget/9.6/allEmptyList.pir-readable.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
letrec | ||
data (List :: * -> *) a | List_match where | ||
Nil : List a | ||
Cons : a -> List a -> List a | ||
in | ||
let | ||
data Bool | Bool_match where | ||
True : Bool | ||
False : Bool | ||
in | ||
letrec | ||
!go : List integer -> Bool | ||
= \(ds : List integer) -> | ||
List_match | ||
{integer} | ||
ds | ||
{all dead. Bool} | ||
(/\dead -> True) | ||
(\(x : integer) (xs : List integer) -> | ||
/\dead -> | ||
Bool_match | ||
(ifThenElse {Bool} (lessThanEqualsInteger 1 x) False True) | ||
{all dead. Bool} | ||
(/\dead -> go xs) | ||
(/\dead -> False) | ||
{all dead. dead}) | ||
{all dead. dead} | ||
in | ||
let | ||
!eta : List integer = Nil {integer} | ||
in | ||
go eta |
18 changes: 18 additions & 0 deletions
18
plutus-tx-plugin/test/Budget/9.6/allEmptyList.uplc-readable.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
program | ||
1.1.0 | ||
((\s -> s s) | ||
(\s x -> | ||
(\go -> | ||
force | ||
(case | ||
x | ||
[ (delay (constr 0 [])) | ||
, (\x xs -> | ||
delay | ||
(force | ||
(force ifThenElse | ||
(lessThanEqualsInteger 1 x) | ||
(delay (constr 1 [])) | ||
(delay (go xs))))) ])) | ||
(s s)) | ||
(constr 0 [])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
({cpu: 10219630 | ||
| mem: 32120}) |
39 changes: 39 additions & 0 deletions
39
plutus-tx-plugin/test/Budget/9.6/allExpensive.pir-readable.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
letrec | ||
data (List :: * -> *) a | List_match where | ||
Nil : List a | ||
Cons : a -> List a -> List a | ||
in | ||
let | ||
data Bool | Bool_match where | ||
True : Bool | ||
False : Bool | ||
in | ||
letrec | ||
!go : List integer -> Bool | ||
= \(ds : List integer) -> | ||
List_match | ||
{integer} | ||
ds | ||
{all dead. Bool} | ||
(/\dead -> True) | ||
(\(x : integer) (xs : List integer) -> | ||
/\dead -> | ||
Bool_match | ||
(ifThenElse {Bool} (lessThanEqualsInteger 11 x) False True) | ||
{all dead. Bool} | ||
(/\dead -> go xs) | ||
(/\dead -> False) | ||
{all dead. dead}) | ||
{all dead. dead} | ||
in | ||
let | ||
!eta : List integer | ||
= (let | ||
a = List integer | ||
in | ||
\(c : integer -> a -> a) (n : a) -> | ||
c 1 (c 2 (c 3 (c 4 (c 5 (c 6 (c 7 (c 8 (c 9 (c 10 n)))))))))) | ||
(\(ds : integer) (ds : List integer) -> Cons {integer} ds ds) | ||
(Nil {integer}) | ||
in | ||
go eta |
40 changes: 40 additions & 0 deletions
40
plutus-tx-plugin/test/Budget/9.6/allExpensive.uplc-readable.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
program | ||
1.1.0 | ||
((\s -> | ||
s s) | ||
(\s x -> | ||
(\go -> | ||
force | ||
(case | ||
x | ||
[ (delay (constr 0 [])) | ||
, (\x xs -> | ||
delay | ||
(force | ||
(force ifThenElse | ||
(lessThanEqualsInteger 11 x) | ||
(delay (constr 1 [])) | ||
(delay (go xs))))) ])) | ||
(s s)) | ||
(constr 1 | ||
[ 1 | ||
, (constr 1 | ||
[ 2 | ||
, (constr 1 | ||
[ 3 | ||
, (constr 1 | ||
[ 4 | ||
, (constr 1 | ||
[ 5 | ||
, (constr 1 | ||
[ 6 | ||
, (constr 1 | ||
[ 7 | ||
, (constr 1 | ||
[ 8 | ||
, (constr 1 | ||
[ 9 | ||
, (constr 1 | ||
[ 10 | ||
, (constr 0 | ||
[ ]) ]) ]) ]) ]) ]) ]) ]) ]) ]) ])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
({cpu: 1058100 | ||
| mem: 4700}) |
44 changes: 44 additions & 0 deletions
44
plutus-tx-plugin/test/Budget/9.6/andCheap.pir-readable.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
let | ||
data Bool | Bool_match where | ||
True : Bool | ||
False : Bool | ||
in | ||
letrec | ||
data (List :: * -> *) a | List_match where | ||
Nil : List a | ||
Cons : a -> List a -> List a | ||
in | ||
letrec | ||
!and : List Bool -> Bool | ||
= \(ds : List Bool) -> | ||
List_match | ||
{Bool} | ||
ds | ||
{all dead. Bool} | ||
(/\dead -> True) | ||
(\(x : Bool) (xs : List Bool) -> | ||
/\dead -> | ||
Bool_match | ||
x | ||
{all dead. Bool} | ||
(/\dead -> and xs) | ||
(/\dead -> False) | ||
{all dead. dead}) | ||
{all dead. dead} | ||
in | ||
and | ||
((let | ||
a = List Bool | ||
in | ||
\(c : Bool -> a -> a) (n : a) -> | ||
c | ||
False | ||
(c | ||
True | ||
(c | ||
True | ||
(c | ||
True | ||
(c True (c True (c True (c True (c True (c True n)))))))))) | ||
(\(ds : Bool) (ds : List Bool) -> Cons {Bool} ds ds) | ||
(Nil {Bool})) |
Oops, something went wrong.