Commit graph

516 commits

Author SHA1 Message Date
Folkert
b669202d86 fix wildcards not recognized as rigids 2020-12-11 01:49:54 +01:00
Folkert
f5c267acf4 fix problem with empty closures still considered closures 2020-12-10 23:58:53 +01:00
Folkert
a9b3c74f2e don't drop empty records from layouts 2020-12-10 15:04:42 +01:00
Folkert
d81544b061 update new test cases 2020-12-10 01:21:17 +01:00
Folkert
16994cfaf7 shrink number of used variables (by a lot) 2020-12-10 00:13:09 +01:00
Folkert
64c3fc6da6 add test for type error 2020-12-09 22:55:14 +01:00
rvcas
4987721154 feat(Num): rename Num.Int to Num.I64 2020-12-07 19:17:20 -05:00
Folkert
4b0b5126a1 add Str.fromInt 2020-12-04 00:37:19 +01:00
Folkert
22d798b7c7 add Str.endsWith 2020-12-03 19:16:50 +01:00
Folkert
5dbe470933 fix typo 2020-12-01 23:07:35 +01:00
Folkert
af3a4c16f4 List.map can call closures 2020-12-01 15:20:52 +01:00
Richard Feldman
e1575beaa3
Merge pull request #738 from rtfeldman/fix-alignment
Fix alignment
2020-11-25 22:54:18 -05:00
Folkert
7f83d9d3a0 fix mono tests, again 2020-11-25 20:06:53 +01:00
Richard Feldman
e6fd9cd884
Merge branch 'trunk' into rvcas/list_functions 2020-11-24 20:20:51 -05:00
Folkert
0f1baef160 alignment in multi tag pattern match 2020-11-24 23:15:32 +01:00
Folkert
69734e837e alignment in pattern match on single element tag union 2020-11-24 22:36:09 +01:00
Folkert
ccd2e0ecf4 alignment in single element tag unions 2020-11-24 22:01:57 +01:00
Folkert
1e4f0e8b07 correct alignment in records! 2020-11-24 21:28:53 +01:00
rvcas
0fb2c4ff8b fix(List): clippy on list_walk and tests for the walk builtin 2020-11-24 13:20:05 -05:00
rvcas
f7bd803509 feat(Num): rename Float to F64 2020-11-24 10:25:21 -05:00
Lucas
dfcf7bb7a2
Merge branch 'trunk' into rvcas/list_functions 2020-11-24 09:07:28 -05:00
rvcas
8feab843ea feat(List): add walk function and fix walkBackwards 2020-11-24 09:01:03 -05:00
rvcas
d9e906b8fb feat(List): rename walkRight to walkBackwards 2020-11-23 19:39:30 -05:00
Folkert
9c7514c449 refactor record layout generation 2020-11-23 23:44:12 +01:00
Richard Feldman
144bdcb3bb Fix some gen_primitives tests 2020-11-23 00:33:56 -05:00
Richard Feldman
da328f9e78 Fix gen tests 2020-11-23 00:24:40 -05:00
Richard Feldman
5eee74f209
Merge pull request #726 from rtfeldman/llvm-dce
DCE zig builtins
2020-11-22 22:13:10 -05:00
Folkert
b6433f872a DCE unused functions everywhere 2020-11-23 02:15:40 +01:00
Sébastien Besnier
b36c2bf499 implement startsWith builtin using Zig 2020-11-22 21:48:42 +01:00
Chadtech
385d0fda9f Resolving conflicts with remote trunk 2020-11-22 13:54:13 -05:00
Chadtech
72009b1276 Comment in now passing test 2020-11-21 14:15:58 -05:00
Folkert
898a140f64 Merge remote-tracking branch 'origin/trunk' into str-split-small-str 2020-11-20 15:58:13 +01:00
Folkert
5ce8a665f0 add finalize everywhere, and fix some oversights 2020-11-18 20:08:43 +01:00
Folkert
7fcc05b0a4 add dibuilder 2020-11-17 20:26:07 +01:00
Folkert
c11d97f3e7 Merge remote-tracking branch 'origin/trunk' into recursive-tag-segfault 2020-11-17 02:52:13 +01:00
Folkert
b6d46bb6f9 add another failing test case 2020-11-17 02:30:59 +01:00
Folkert
8f49b1afaa re-enable RBTree.balance test 2020-11-17 02:13:40 +01:00
Chad Stearns
797b5a3053 Extra count graphemes test for three Js 2020-11-16 15:45:53 -05:00
Chad Stearns
222d56f67b Use ROC_STR_MEM_SIZE in more tests 2020-11-16 04:33:01 -05:00
Chad Stearns
d0aaf9c47f Use ROC_STR_MEM_SIZE in more tests 2020-11-16 03:07:10 -05:00
Chad Stearns
1b2022ab5c Isolate 20 char delimiter test 2020-11-16 02:54:20 -05:00
Chad Stearns
a3720e6c3d Fixed algorithm problem in Str.split, that would drop the final str in the return list if it was empty 2020-11-16 02:04:55 -05:00
Chad Stearns
7b488d0970 Applied ROC_STR_MEM_SIZE to more tests 2020-11-15 23:22:13 -05:00
Chad Stearns
d3da25131c In small_str test helper function, dont use the hard coded value of 16, use the actual size of the RocStr memory footprint 2020-11-15 21:36:16 -05:00
Folkert
93b6315f46 fix pattern match test ordering problem 2020-11-16 02:18:18 +01:00
Chad Stearns
2bc1e73042 Merge branch 'trunk' of github.com:rtfeldman/roc into str-split-small-str 2020-11-15 19:25:09 -05:00
Chad Stearns
1c9851ec4e Comment in newly working tests, comment out new tests that should work but dont 2020-11-15 19:24:35 -05:00
Richard Feldman
0ad3ffe35a
Merge branch 'trunk' into rvcas/list_sum 2020-11-15 12:13:46 -05:00
Richard Feldman
346248a7c0
Merge pull request #692 from rtfeldman/refactor-layout
Extract LayoutIds from roc_gen to roc_mono::layout
2020-11-15 12:04:43 -05:00
rvcas
1c8bb74268 feat(List): add sum builtin 2020-11-15 11:08:27 -05:00