Commit Graph

13263 Commits

Author SHA1 Message Date
Folkert
04818292a8
Make type_to_variable manually tail-recursive
by using a work stack and reserving variables. fun stuff
2022-03-06 13:22:55 +01:00
Folkert
69be422d83
optimize occurs 2022-03-05 23:37:41 +01:00
Folkert
3372d7184e
improvements to adjust_rank 2022-03-05 23:29:33 +01:00
Folkert
fd179c8b4e
improve pool_to_rank_table 2022-03-05 23:07:57 +01:00
Folkert
6009768991
Merge branch 'def-types-tweaks' into builtins-in-roc 2022-03-05 22:36:59 +01:00
Folkert
9f11245b22
add comment 2022-03-05 22:29:30 +01:00
Folkert
6380a9edf9
remove collection that went unused 2022-03-05 22:29:22 +01:00
Folkert
587c89e003
use empty array for empty DefTypes sequence 2022-03-05 21:51:20 +01:00
Folkert
c7c9a90d65
restructure how def_types are stored in Constraints 2022-03-05 21:47:49 +01:00
Folkert
6392e42166
prevent frequent expectation cloning 2022-03-05 21:32:22 +01:00
Folkert
dc8a077fff
constraint.rs tweaks 2022-03-05 21:32:13 +01:00
Folkert
ce393974bf
prevent frequent expectation cloning 2022-03-05 21:29:17 +01:00
Folkert
602355903d
constraint.rs tweaks 2022-03-05 21:28:59 +01:00
Folkert
de498a37ce
manually define min/max integer functions 2022-03-05 21:02:35 +01:00
Folkert
adf4ad22a5
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc 2022-03-05 20:55:15 +01:00
hafiz
cad02d878c
Merge pull request #2645 from rtfeldman/solve-fully-tail-recursive
make solve fully tail recursive
2022-03-05 14:35:39 -05:00
hafiz
dcb1d97173
Merge pull request #2651 from rtfeldman/can-def-cloning
Reduce can def cloning
2022-03-05 13:52:22 -05:00
Folkert
1b66247303
renaming 2022-03-05 19:30:15 +01:00
Folkert
fc4212310f
Merge remote-tracking branch 'origin/trunk' into solve-fully-tail-recursive 2022-03-05 18:34:09 +01:00
hafiz
32ef4a5566
Merge pull request #2644 from rtfeldman/instantiate-rigids-speedup-again
instantiate rigids more intelligently
2022-03-05 12:26:44 -05:00
Folkert
53962a4799
mark infer variables as flex 2022-03-05 17:27:33 +01:00
Folkert
020ee549dd
Merge branch 'instantiate-rigids-speedup-again' into can-def-cloning 2022-03-05 16:58:40 +01:00
Folkert
f2fa625886
add test 2022-03-05 16:48:33 +01:00
Folkert
0285a1b0ea
cleanup 2022-03-05 16:41:29 +01:00
Folkert
cd203d20a3
also remove clones for Body 2022-03-05 16:12:19 +01:00
Brian Carroll
3a52f4ba0e
Merge pull request #2649 from rtfeldman/rename-cli-backend-option
Rename CLI --backend to --target since that's what it has always meant
2022-03-05 14:58:28 +00:00
Folkert
87e1b5bba6
formatting 2022-03-05 15:53:24 +01:00
Folkert
06ff93cace
Revert "remove clones in most cases in can/def"
This reverts commit 5e48577d29.
Will put it into a separate PR
2022-03-05 15:50:41 +01:00
Folkert
b421df2a28
transform TypedDef to use fewer clones 2022-03-05 15:50:00 +01:00
Folkert
5e48577d29
remove clones in most cases in can/def 2022-03-05 15:32:55 +01:00
Brian Carroll
0464da84c0 Rename CLI --backend to --target since that's what it has always meant 2022-03-05 14:22:59 +00:00
Folkert
80956061dd
fix formatting bug in type pretty-print 2022-03-05 15:03:59 +01:00
Folkert
48b0bbe874
cleanup 2022-03-05 14:55:45 +01:00
Folkert
97b0e3df9b
more efficient approach for finding new rigids 2022-03-05 14:50:23 +01:00
Folkert
6370a80c62
make sure lambda sets within aliases are in IntroducedVariables 2022-03-05 14:29:34 +01:00
Folkert
012a2d07a6
add Inferred variables to IntroducedVariables 2022-03-05 14:27:45 +01:00
Richard Feldman
bcafc6612e
Update Pierre-Henri's email in AUTHORS
As requested in 76b4e7ec2e (commitcomment-68027841)
2022-03-05 08:07:25 -05:00
Folkert
7c83e940bd
leave a TODO 2022-03-05 13:55:30 +01:00
Folkert
d7eee71402
track lambda set variables; only use annotation variables in annotations... 2022-03-05 13:47:01 +01:00
Folkert
9302f2ca5e
partially revert to working state 2022-03-05 13:18:35 +01:00
Folkert
477fe5a48e
Merge remote-tracking branch 'origin/trunk' into instantiate-rigids-speedup-again 2022-03-05 13:12:55 +01:00
Folkert de Vries
b86976be02
Merge pull request #2648 from rtfeldman/unused_roc_file
removed redundant roc_file.rs
2022-03-05 13:04:53 +01:00
Folkert de Vries
9d7ba11018
Merge pull request #2647 from rtfeldman/take-scratchpad-bug
Fix a bug taking a scratchpad arena
2022-03-05 13:04:10 +01:00
Anton-4
cbac0cf318
removed redundant roc_file.rs 2022-03-05 09:32:37 +01:00
ayazhafiz
e0aa246c5e Merge remote-tracking branch 'origin/trunk' into instantiate-rigids-speedup-again 2022-03-04 21:55:16 -05:00
Folkert
d158702e1a
Merge remote-tracking branch 'origin/trunk' into take-scratchpad-bug 2022-03-05 02:15:46 +01:00
Folkert
8c321c1aa4
fix a bug with taking a scratchpad arena 2022-03-05 02:12:10 +01:00
Richard Feldman
76b4e7ec2e
Add Derek, Philippe, and Pierre-Henri to AUTHORS 2022-03-04 19:46:52 -05:00
Richard Feldman
c89a6c109a
Merge pull request #2627 from rtfeldman/constraints-soa
Constraints using Struct of Arrays
2022-03-04 19:39:03 -05:00
Folkert
241dc5783e
remove VariablesIter, it was unused 2022-03-05 01:37:23 +01:00