Commit graph

1323 commits

Author SHA1 Message Date
Folkert
97f15bbb49 Tag don't unroll recursive types 2021-07-16 18:10:55 +02:00
Folkert
7dd440f642 morphic Recursive types 2021-07-16 17:55:03 +02:00
Folkert
71672bb7ad prevent unrolling of recursive types 2021-07-16 17:54:44 +02:00
Folkert
8e54023d60 foundation for encoding recursive types 2021-07-15 15:16:09 +02:00
Richard Feldman
c415b3b799
Merge branch 'trunk' into reset-reuse 2021-07-14 22:45:42 -04:00
Folkert
d464c005f0 encode tag unions as morphic unions 2021-07-14 23:26:19 +02:00
Folkert
568e4e390a fix 2021-07-14 17:27:11 +02:00
Folkert
771599165b cleanup build_reset usage 2021-07-14 17:16:45 +02:00
Folkert
1beed7f759 implement function_R invoke 2021-07-14 16:58:49 +02:00
Folkert
8a1a643e3b refactor function_r branch body 2021-07-14 16:52:56 +02:00
Folkert
0171fd0959 remove Boxed 2021-07-14 15:33:59 +02:00
Folkert
3a0ba76f8b Merge remote-tracking branch 'origin/trunk' into add-dec-types 2021-07-14 14:19:30 +02:00
Folkert
7d91cb4cd7 clippy 2021-07-14 00:56:16 +02:00
Folkert
1bea704272 only expand recursive tag unions if it's a different type (think linked-list of trees) 2021-07-14 00:48:10 +02:00
Folkert
26b05d18f2 improvements to reset reuse 2021-07-14 00:40:48 +02:00
Folkert
bcf23d5699 Revert "improvements to reset reuse"
This reverts commit e0ce2892ad.
2021-07-14 00:30:00 +02:00
Folkert
e0ce2892ad improvements to reset reuse 2021-07-13 23:45:06 +02:00
Folkert
e02d950c7c Merge remote-tracking branch 'origin/trunk' into reset-reuse 2021-07-13 00:44:05 +02:00
Folkert
83bea1582f box fixes 2021-07-13 00:42:21 +02:00
Folkert
d80deb37cd cleanup 2021-07-13 00:41:46 +02:00
Folkert
1a4ceeeb65 be more precise 2021-07-12 17:58:02 +02:00
Folkert
7d256067f9 allow multiple guards in the same pattern 2021-07-12 17:40:49 +02:00
Folkert
09f01ba193 Boxed skeleton 2021-07-12 17:01:53 +02:00
Folkert
7be0349eee refactor, insert reset more intelligently 2021-07-12 15:19:26 +02:00
Folkert
ed28b02b57 shift store_pattern over to decision_tree 2021-07-11 01:06:22 +02:00
Folkert
e32a06b088 assign guarded patterns at the last moment 2021-07-11 00:39:30 +02:00
Folkert
78309f2607 cleanup 2021-07-10 23:49:24 +02:00
Folkert
e05753afd8 working decision tree gen for all tests 2021-07-10 21:28:32 +02:00
Folkert
541a62b109 cleanup: we either have a guard or a test, not both 2021-07-10 14:01:18 +02:00
Folkert
a22d1e9e4c peal of guarded tests 2021-07-10 13:56:13 +02:00
Folkert
8755465ad6 hash tests as the same 2021-07-10 13:55:27 +02:00
Folkert
1b1a201517 more debug info 2021-07-10 13:55:13 +02:00
Jared Ramirez
c261766681 Appease clippy 2021-07-09 09:46:40 -07:00
Jared Ramirez
67eef2c97f Merge branch 'trunk' of https://github.com/rtfeldman/roc into add-dec-types 2021-07-08 16:47:42 -07:00
Folkert
0fbf540d69 move Guard into the Branch 2021-07-07 21:21:50 +02:00
Folkert
60311fc7ce refactor: return option 2021-07-07 16:11:28 +02:00
Folkert
71d46a9b51 fix wrong bool 2021-07-05 17:35:55 +02:00
Folkert
8bca6ebdfd make fewer things pub 2021-07-04 23:10:44 +02:00
Folkert
1126921a9e refactor 2021-07-04 23:05:04 +02:00
Folkert
b1a136bf2e clippy 2021-07-04 22:44:36 +02:00
Folkert
2c0aa8a5a1 handle guards in a first-class way 2021-07-04 22:35:00 +02:00
Folkert
8f0c13ecc1 remove old handling of guard 2021-07-04 21:19:39 +02:00
Folkert
e7c88cac98 refactor guards 2021-07-04 21:17:57 +02:00
Folkert
b99f710c49 refactor 2021-07-04 20:12:50 +02:00
Folkert
b2792af5f6 add helper function 2021-07-04 15:10:32 +02:00
Folkert de Vries
b35eb85e03
Merge branch 'trunk' into incompatible_type_param 2021-07-04 01:09:04 +02:00
rvcas
39d39c218f feat(mono): return Stmt::RuntimeError on bad layouts for If 2021-07-03 13:05:30 -04:00
Eric Correia
aa123635fa remove comment 2021-07-03 12:08:42 -04:00
Eric Correia
8deb377d30 tag must be its own type fix 2021-07-03 12:06:48 -04:00
Eric Correia
ee52ce19ad fix reset_reuse 2021-07-03 11:53:02 -04:00