-
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.
- Loading branch information
Showing
633 changed files
with
18,375 additions
and
29,338 deletions.
There are no files selected for viewing
1,967 changes: 989 additions & 978 deletions
1,967
plutus-benchmark/nofib/test/9.6/clausify-F5.pir.golden
Large diffs are not rendered by default.
Oops, something went wrong.
3,072 changes: 1,541 additions & 1,531 deletions
3,072
plutus-benchmark/nofib/test/9.6/knights10-4x4.pir.golden
Large diffs are not rendered by default.
Oops, something went wrong.
3,366 changes: 1,690 additions & 1,676 deletions
3,366
plutus-benchmark/nofib/test/9.6/queens4-bt.pir.golden
Large diffs are not rendered by default.
Oops, something went wrong.
3,366 changes: 1,690 additions & 1,676 deletions
3,366
plutus-benchmark/nofib/test/9.6/queens5-fc.pir.golden
Large diffs are not rendered by default.
Oops, something went wrong.
2,663 changes: 1,339 additions & 1,324 deletions
2,663
plutus-benchmark/script-contexts/test/9.6/checkScriptContext1.pir.golden
Large diffs are not rendered by default.
Oops, something went wrong.
2,617 changes: 1,314 additions & 1,303 deletions
2,617
plutus-benchmark/script-contexts/test/9.6/checkScriptContext2.pir.golden
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
(program | ||
0.1.0 (lam x_4 y_1 (lam x_5 z_2 [ [ [ f_3 x_5 ] (lam x_6 y_1 x_6) ] x_5 ])) | ||
0.1.0 (lam x-4 y-1 (lam x-5 z-2 [ [ [ f-3 x-5 ] (lam x-6 y-1 x-6) ] x-5 ])) | ||
) |
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 |
---|---|---|
@@ -1 +1 @@ | ||
(program 0.1.0 (lam x_3 y_1 (lam x_4 z_2 [ [ (builtin addInteger) x_4 ] x_4 ]))) | ||
(program 0.1.0 (lam x-3 y-1 (lam x-4 z-2 [ [ (builtin addInteger) x-4 ] x-4 ]))) |
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 |
---|---|---|
@@ -1 +1 @@ | ||
(program 0.1.0 (lam x_6 y_1 (lam x_7 z_2 [ (lam f_8 t_4 j_5) x_7 ]))) | ||
(program 0.1.0 (lam x-6 y-1 (lam x-7 z-2 [ (lam f-8 t-4 j-5) x-7 ]))) |
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 |
---|---|---|
@@ -1,28 +1,28 @@ | ||
(program | ||
0.1.0 | ||
(lam | ||
x_6 | ||
(all a_7 (type) (fun a_7 (fun a_7 a_7))) | ||
x-6 | ||
(all a-7 (type) (fun a-7 (fun a-7 a-7))) | ||
[ | ||
[ | ||
[ | ||
{ | ||
(abs | ||
b_8 | ||
b-8 | ||
(type) | ||
(lam | ||
x_9 | ||
(all a_10 (type) (fun a_10 (fun a_10 a_10))) | ||
(lam t_11 b_8 (lam f_12 b_8 [ [ { x_9 b_8 } t_11 ] f_12 ])) | ||
x-9 | ||
(all a-10 (type) (fun a-10 (fun a-10 a-10))) | ||
(lam t-11 b-8 (lam f-12 b-8 [ [ { x-9 b-8 } t-11 ] f-12 ])) | ||
) | ||
) | ||
(all a_13 (type) (fun a_13 (fun a_13 a_13))) | ||
(all a-13 (type) (fun a-13 (fun a-13 a-13))) | ||
} | ||
x_6 | ||
x-6 | ||
] | ||
(abs a_14 (type) (lam x_15 a_14 (lam y_16 a_14 y_16))) | ||
(abs a-14 (type) (lam x-15 a-14 (lam y-16 a-14 y-16))) | ||
] | ||
(abs a_17 (type) (lam t_18 a_17 (lam f_19 a_17 t_18))) | ||
(abs a-17 (type) (lam t-18 a-17 (lam f-19 a-17 t-18))) | ||
] | ||
) | ||
) |
2 changes: 1 addition & 1 deletion
2
plutus-core/plutus-ir/test/PlutusIR/Compiler/Datatype/dataEscape.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 |
---|---|---|
@@ -1 +1 @@ | ||
(all a_16 (type) (fun a_16 [ Maybe_5 a_16 ])) | ||
(all a-16. a-16 -> Maybe-5 a-16) |
2 changes: 1 addition & 1 deletion
2
plutus-core/plutus-ir/test/PlutusIR/Compiler/Datatype/idleAll.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Error during PIR typechecking: | ||
The result-type of a dataconstructor is malformed at location idleAll:12:5-17:5 | ||
The expected result-type is: [ D2 a ] | ||
The expected result-type is: [ D2-12 a-15 ] |
247 changes: 46 additions & 201 deletions
247
plutus-core/plutus-ir/test/PlutusIR/Compiler/Datatype/listMatch.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 |
---|---|---|
@@ -1,206 +1,51 @@ | ||
(program | ||
1.1.0 | ||
[ | ||
[ | ||
[ | ||
{ | ||
(abs | ||
List_i0 | ||
(fun (type) (type)) | ||
(lam | ||
Nil_i0 | ||
(all a_i0 (type) [ List_i3 a_i1 ]) | ||
(lam | ||
Cons_i0 | ||
(all | ||
a_i0 (type) (fun a_i1 (fun [ List_i4 a_i1 ] [ List_i4 a_i1 ])) | ||
) | ||
(lam | ||
match_List_i0 | ||
(all | ||
a_i0 | ||
(type) | ||
(fun | ||
[ List_i5 a_i1 ] | ||
(all | ||
out_List_i0 | ||
(type) | ||
(fun | ||
out_List_i1 | ||
(fun | ||
(fun a_i2 (fun [ List_i6 a_i2 ] out_List_i1)) | ||
out_List_i1 | ||
) | ||
) | ||
) | ||
) | ||
) | ||
(abs a_i0 (type) (lam x_i0 a_i2 x_i1)) | ||
) | ||
) | ||
) | ||
) | ||
(lam | ||
a_i0 | ||
(type) | ||
(ifix | ||
(lam | ||
List_i0 | ||
(fun (type) (type)) | ||
(lam a_i0 (type) (sop [] [a_i1 [ List_i2 a_i1 ]])) | ||
) | ||
a_i1 | ||
) | ||
) | ||
} | ||
(abs | ||
a_i0 | ||
(type) | ||
(iwrap | ||
(lam | ||
List_i0 | ||
(fun (type) (type)) | ||
(lam a_i0 (type) (sop [] [a_i1 [ List_i2 a_i1 ]])) | ||
) | ||
a_i1 | ||
(constr | ||
1.1.0 | ||
((/\(List :: * -> *) -> | ||
\(Nil : all a. List a) | ||
(Cons : all a. a -> List a -> List a) | ||
(match_List : | ||
all a. | ||
List a -> | ||
(all out_List. | ||
out_List -> (a -> List a -> out_List) -> out_List)) -> | ||
/\a -> \(x : a) -> x) | ||
{\a -> ifix (\(List :: * -> *) a -> sop [] [a, (List a)]) a} | ||
(/\a -> | ||
iwrap | ||
(\(List :: * -> *) a -> sop [] [a, (List a)]) | ||
a | ||
(constr | ||
(sop | ||
[] | ||
[a_i1 | ||
[ | ||
(lam | ||
a_i0 | ||
(type) | ||
(ifix | ||
(lam | ||
List_i0 | ||
(fun (type) (type)) | ||
(lam a_i0 (type) (sop [] [a_i1 [ List_i2 a_i1 ]])) | ||
) | ||
a_i1 | ||
) | ||
) | ||
a_i1 | ||
]] | ||
) | ||
[] | ||
[ a | ||
, ((\a -> ifix (\(List :: * -> *) a -> sop [] [a, (List a)]) a) | ||
a) ]) | ||
0 | ||
) | ||
) | ||
) | ||
] | ||
(abs | ||
a_i0 | ||
(type) | ||
(lam | ||
arg_0_i0 | ||
a_i2 | ||
(lam | ||
arg_1_i0 | ||
[ | ||
(lam | ||
a_i0 | ||
(type) | ||
(ifix | ||
(lam | ||
List_i0 | ||
(fun (type) (type)) | ||
(lam a_i0 (type) (sop [] [a_i1 [ List_i2 a_i1 ]])) | ||
) | ||
a_i1 | ||
) | ||
) | ||
a_i3 | ||
] | ||
(iwrap | ||
(lam | ||
List_i0 | ||
(fun (type) (type)) | ||
(lam a_i0 (type) (sop [] [a_i1 [ List_i2 a_i1 ]])) | ||
) | ||
a_i3 | ||
(constr | ||
[])) | ||
(/\a -> | ||
\(arg_0 : a) | ||
(arg_1 : | ||
(\a -> ifix (\(List :: * -> *) a -> sop [] [a, (List a)]) a) a) -> | ||
iwrap | ||
(\(List :: * -> *) a -> sop [] [a, (List a)]) | ||
a | ||
(constr | ||
(sop | ||
[] | ||
[a_i3 | ||
[ | ||
(lam | ||
a_i0 | ||
(type) | ||
(ifix | ||
(lam | ||
List_i0 | ||
(fun (type) (type)) | ||
(lam a_i0 (type) (sop [] [a_i1 [ List_i2 a_i1 ]])) | ||
) | ||
a_i1 | ||
) | ||
) | ||
a_i3 | ||
]] | ||
) | ||
[] | ||
[ a | ||
, ((\a -> | ||
ifix (\(List :: * -> *) a -> sop [] [a, (List a)]) a) | ||
a) ]) | ||
1 | ||
arg_0_i2 | ||
arg_1_i1 | ||
) | ||
) | ||
) | ||
) | ||
) | ||
] | ||
(abs | ||
a_i0 | ||
(type) | ||
(lam | ||
x_i0 | ||
[ | ||
(lam | ||
a_i0 | ||
(type) | ||
(ifix | ||
(lam | ||
List_i0 | ||
(fun (type) (type)) | ||
(lam a_i0 (type) (sop [] [a_i1 [ List_i2 a_i1 ]])) | ||
) | ||
a_i1 | ||
) | ||
) | ||
a_i2 | ||
] | ||
(abs | ||
out_List_i0 | ||
(type) | ||
(lam | ||
case_Nil_i0 | ||
out_List_i2 | ||
(lam | ||
case_Cons_i0 | ||
(fun | ||
a_i5 | ||
(fun | ||
[ | ||
(lam | ||
a_i0 | ||
(type) | ||
(ifix | ||
(lam | ||
List_i0 | ||
(fun (type) (type)) | ||
(lam a_i0 (type) (sop [] [a_i1 [ List_i2 a_i1 ]])) | ||
) | ||
a_i1 | ||
) | ||
) | ||
a_i5 | ||
] | ||
out_List_i3 | ||
) | ||
) | ||
(case out_List_i3 (unwrap x_i4) case_Nil_i2 case_Cons_i1) | ||
) | ||
) | ||
) | ||
) | ||
) | ||
] | ||
) | ||
[arg_0, arg_1])) | ||
(/\a -> | ||
\(x : | ||
(\a -> ifix (\(List :: * -> *) a -> sop [] [a, (List a)]) a) a) -> | ||
/\out_List -> | ||
\(case_Nil : out_List) | ||
(case_Cons : | ||
a -> | ||
(\a -> ifix (\(List :: * -> *) a -> sop [] [a, (List a)]) a) | ||
a -> | ||
out_List) -> | ||
case out_List (unwrap x) [case_Nil, case_Cons]))) |
2 changes: 1 addition & 1 deletion
2
plutus-core/plutus-ir/test/PlutusIR/Compiler/Datatype/listMatchEval.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 |
---|---|---|
@@ -1 +1 @@ | ||
(delay (lam x_0 x_0)) | ||
(delay (\x -> x)) |
Oops, something went wrong.