-
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.
[Builtins] Add the 'dropList' builtin
- Loading branch information
1 parent
1d2ad5a
commit 7be8e1f
Showing
20 changed files
with
222 additions
and
196 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
1 change: 1 addition & 0 deletions
1
plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DropList.plc.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 @@ | ||
all a. integer -> list a -> list a |
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 |
---|---|---|
|
@@ -144,3 +144,4 @@ isCommutative = \case | |
CountSetBits -> False | ||
FindFirstSetBit -> False | ||
ExpModInteger -> False | ||
DropList -> False |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[entering addInt-128, exiting addInt-128] | ||
[entering addInt-130, exiting addInt-130] |
12 changes: 6 additions & 6 deletions
12
plutus-tx-plugin/test/Plugin/Profiling/9.6/argMismatch1.eval.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,6 +1,6 @@ | ||
[ entering runIdentity-131 | ||
, exiting runIdentity-131 | ||
, entering newtypeFunction-139 | ||
, exiting newtypeFunction-139 | ||
, entering `$fFoldableIdentity`-133 | ||
, exiting `$fFoldableIdentity`-133 ] | ||
[ entering runIdentity-133 | ||
, exiting runIdentity-133 | ||
, entering newtypeFunction-141 | ||
, exiting newtypeFunction-141 | ||
, entering `$fFoldableIdentity`-135 | ||
, exiting `$fFoldableIdentity`-135 ] |
2 changes: 1 addition & 1 deletion
2
plutus-tx-plugin/test/Plugin/Profiling/9.6/argMismatch2.eval.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 @@ | ||
[entering obscuredFunction-129, exiting obscuredFunction-129] | ||
[entering obscuredFunction-131, exiting obscuredFunction-131] |
72 changes: 36 additions & 36 deletions
72
plutus-tx-plugin/test/Plugin/Profiling/9.6/fact4.eval.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,36 +1,36 @@ | ||
[ entering fact-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering subtractInteger-152 | ||
, exiting subtractInteger-152 | ||
, entering fact-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering subtractInteger-152 | ||
, exiting subtractInteger-152 | ||
, entering fact-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering subtractInteger-152 | ||
, exiting subtractInteger-152 | ||
, entering fact-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering subtractInteger-152 | ||
, exiting subtractInteger-152 | ||
, entering fact-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, exiting fact-128 | ||
, entering multiplyInteger-146 | ||
, exiting multiplyInteger-146 | ||
, exiting fact-128 | ||
, entering multiplyInteger-146 | ||
, exiting multiplyInteger-146 | ||
, exiting fact-128 | ||
, entering multiplyInteger-146 | ||
, exiting multiplyInteger-146 | ||
, exiting fact-128 | ||
, entering multiplyInteger-146 | ||
, exiting multiplyInteger-146 | ||
, exiting fact-128 ] | ||
[ entering fact-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering subtractInteger-154 | ||
, exiting subtractInteger-154 | ||
, entering fact-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering subtractInteger-154 | ||
, exiting subtractInteger-154 | ||
, entering fact-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering subtractInteger-154 | ||
, exiting subtractInteger-154 | ||
, entering fact-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering subtractInteger-154 | ||
, exiting subtractInteger-154 | ||
, entering fact-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, exiting fact-130 | ||
, entering multiplyInteger-148 | ||
, exiting multiplyInteger-148 | ||
, exiting fact-130 | ||
, entering multiplyInteger-148 | ||
, exiting multiplyInteger-148 | ||
, exiting fact-130 | ||
, entering multiplyInteger-148 | ||
, exiting multiplyInteger-148 | ||
, exiting fact-130 | ||
, entering multiplyInteger-148 | ||
, exiting multiplyInteger-148 | ||
, exiting fact-130 ] |
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
148 changes: 74 additions & 74 deletions
148
plutus-tx-plugin/test/Plugin/Profiling/9.6/fib4.eval.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,74 +1,74 @@ | ||
[ entering fib-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering subtractInteger-156 | ||
, exiting subtractInteger-156 | ||
, entering fib-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering subtractInteger-156 | ||
, exiting subtractInteger-156 | ||
, entering fib-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering subtractInteger-156 | ||
, exiting subtractInteger-156 | ||
, entering fib-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, exiting fib-128 | ||
, entering subtractInteger-156 | ||
, exiting subtractInteger-156 | ||
, entering fib-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, exiting fib-128 | ||
, entering addInteger-150 | ||
, exiting addInteger-150 | ||
, exiting fib-128 | ||
, entering subtractInteger-156 | ||
, exiting subtractInteger-156 | ||
, entering fib-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, exiting fib-128 | ||
, entering addInteger-150 | ||
, exiting addInteger-150 | ||
, exiting fib-128 | ||
, entering subtractInteger-156 | ||
, exiting subtractInteger-156 | ||
, entering fib-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering subtractInteger-156 | ||
, exiting subtractInteger-156 | ||
, entering fib-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, exiting fib-128 | ||
, entering subtractInteger-156 | ||
, exiting subtractInteger-156 | ||
, entering fib-128 | ||
, entering equalsInteger-135 | ||
, exiting equalsInteger-135 | ||
, exiting fib-128 | ||
, entering addInteger-150 | ||
, exiting addInteger-150 | ||
, exiting fib-128 | ||
, entering addInteger-150 | ||
, exiting addInteger-150 | ||
, exiting fib-128 ] | ||
[ entering fib-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering subtractInteger-158 | ||
, exiting subtractInteger-158 | ||
, entering fib-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering subtractInteger-158 | ||
, exiting subtractInteger-158 | ||
, entering fib-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering subtractInteger-158 | ||
, exiting subtractInteger-158 | ||
, entering fib-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, exiting fib-130 | ||
, entering subtractInteger-158 | ||
, exiting subtractInteger-158 | ||
, entering fib-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, exiting fib-130 | ||
, entering addInteger-152 | ||
, exiting addInteger-152 | ||
, exiting fib-130 | ||
, entering subtractInteger-158 | ||
, exiting subtractInteger-158 | ||
, entering fib-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, exiting fib-130 | ||
, entering addInteger-152 | ||
, exiting addInteger-152 | ||
, exiting fib-130 | ||
, entering subtractInteger-158 | ||
, exiting subtractInteger-158 | ||
, entering fib-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering subtractInteger-158 | ||
, exiting subtractInteger-158 | ||
, entering fib-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, exiting fib-130 | ||
, entering subtractInteger-158 | ||
, exiting subtractInteger-158 | ||
, entering fib-130 | ||
, entering equalsInteger-137 | ||
, exiting equalsInteger-137 | ||
, exiting fib-130 | ||
, entering addInteger-152 | ||
, exiting addInteger-152 | ||
, exiting fib-130 | ||
, entering addInteger-152 | ||
, exiting addInteger-152 | ||
, exiting fib-130 ] |
Oops, something went wrong.