Commit 65c6e4d
authored
[Builtins] Allow casing on lists (#7188)
* Casing on list
* Allow `HeadSpine` to have different type for head
* Use `HeadSpine` for casing
* changelog
* Rename
* review updates
* Update golden
* Fix test, number of branches is checked on type checker for caseing on bool
* Add benchmark for builtin casing
* use 1.49
* Allow builtin casing type checking to allow higher typed builtins to take type variable
* Use builtin casing for `caseList`
* Update golden
* Add list casing golden case
* Update more golden
* Add property tests for builtin list casing
* review changes1 parent 56e0834 commit 65c6e4d
File tree
280 files changed
+6864
-7401
lines changed- cardano-constitution/test/Cardano/Constitution/Validator
- Data/GoldenTests
- GoldenTests
- nix
- plutus-benchmark
- bitwise/test/9.6
- casing
- bench
- src/PlutusBenchmark
- ed25519-costs/test/9.6
- lists/test
- Lookup/9.6
- Sum/9.6
- script-contexts/test
- V1
- 9.6
- Data/9.6
- V2
- 9.6
- Data/9.6
- V3
- 9.6
- Data/9.6
- plutus-core
- changelog.d
- plutus-core
- src/PlutusCore
- Builtin
- Default
- Evaluation/Machine
- TypeCheck
- test/Evaluation
- plutus-ir/src/PlutusIR
- Transform
- TypeCheck
- testlib/PlutusCore/Generators/Hedgehog
- untyped-plutus-core
- src/UntypedPlutusCore
- Evaluation/Machine
- Cek
- SteppableCek
- Transform
- testlib/Evaluation
- Builtins
- test/Evaluation/Golden
- plutus-ledger-api/test-plugin/Spec/Data
- Budget/9.6
- Value/9.6
- plutus-tx-plugin
- src/PlutusTx/Compiler
- test
- Budget/9.6
- BuiltinList/Budget/9.6
- DataList/Budget/9.6
- IsData/9.6
- Plugin/Primitives/9.6
- size/Golden/Rational/Serialization
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
280 files changed
+6864
-7401
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
| 511 | + | |
519 | 512 | | |
520 | 513 | | |
521 | 514 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 52 additions & 60 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
733 | | - | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
734 | 738 | | |
735 | 739 | | |
736 | 740 | | |
| |||
742 | 746 | | |
743 | 747 | | |
744 | 748 | | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
| 749 | + | |
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
| |||
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
| 782 | + | |
786 | 783 | | |
787 | 784 | | |
788 | 785 | | |
789 | 786 | | |
790 | 787 | | |
791 | | - | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
816 | | - | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
817 | 823 | | |
818 | 824 | | |
819 | 825 | | |
820 | | - | |
821 | | - | |
822 | | - | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
| 826 | + | |
| 827 | + | |
827 | 828 | | |
828 | 829 | | |
829 | 830 | | |
830 | | - | |
831 | | - | |
| 831 | + | |
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
838 | 838 | | |
839 | | - | |
| 839 | + | |
840 | 840 | | |
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | | - | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
857 | 858 | | |
858 | 859 | | |
859 | | - | |
860 | | - | |
861 | | - | |
862 | | - | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
863 | 864 | | |
864 | 865 | | |
865 | 866 | | |
866 | 867 | | |
867 | | - | |
868 | | - | |
869 | | - | |
870 | | - | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
883 | 877 | | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
891 | 883 | | |
892 | 884 | | |
893 | 885 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
| 441 | + | |
449 | 442 | | |
450 | 443 | | |
451 | 444 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments