Commit graph

7719 commits

Author SHA1 Message Date
Folkert
e3293f1ba9 remove list sum and product lowlevel ops 2021-03-30 22:55:27 +02:00
Eric Henry
eca753f6a4 helper function, typo fix, remove debug code 2021-03-30 16:51:57 -04:00
Folkert
5cfc9c1d85 implement List.sum and List.product in roc can AST 2021-03-30 22:19:37 +02:00
Folkert
0bd05f3ecf remove second macro def 2021-03-30 21:23:06 +02:00
Anton-4
fb622c841f refactoring 2021-03-30 20:03:46 +02:00
Anton-4
1332d6e01d working input of string literal 2021-03-30 18:08:27 +02:00
Lucas
15203e3584
Merge branch 'trunk' into applied_tag_functions 2021-03-30 11:34:24 -04:00
Eric Henry
7045737669 sortWith boilerplate done 2021-03-30 11:05:31 -04:00
Eric Henry
739b859a50 pattern in parens test cases 2021-03-30 10:23:50 -04:00
Eric Correia
c827b52aba Merge branch 'trunk' of github.com:rtfeldman/roc into type-start-parse-error 2021-03-30 08:38:34 -04:00
Folkert de Vries
cebf5db894
Merge branch 'trunk' into rc-missed-opt 2021-03-30 14:13:24 +02:00
Folkert
1ac7ed1bfd fix missed RC optimization opportunity 2021-03-30 14:09:46 +02:00
Anton-4
98db988e5e
Merge branch 'trunk' into fix_caret_move 2021-03-30 10:59:08 +02:00
Chadtech
b100efa511 Set type in Set.roc 2021-03-30 01:30:47 -04:00
Chadtech
4be3f04aba Pretty assertions in test_docs 2021-03-30 00:54:17 -04:00
Chadtech
ce6bdfc757 If the docs encounter a break in the comments, we should forget about the accumulated docs until then, since they did not pertain to what we were building docs for 2021-03-30 00:54:04 -04:00
Chadtech
62b4ce0598 Put List private tag list 2021-03-30 00:53:20 -04:00
Chadtech
1df89ccbbe Aliases now rendered in docs 2021-03-30 00:52:47 -04:00
Richard Feldman
1320930a73
Merge pull request #1124 from rtfeldman/panic-on-type-error
Panic on type error
2021-03-29 22:43:48 -04:00
Folkert
eba295033d clippy 2021-03-29 23:07:21 +02:00
Folkert
d718e21fd3 add List.range 2021-03-29 23:00:49 +02:00
Folkert
f7f9ec7de6 fix test 2021-03-29 21:17:14 +02:00
Folkert
1dd8c25e12 implement walk until 2021-03-29 20:54:38 +02:00
Anton-4
0b81f8bd52 fixed caret movement, fixed char insertion offset for record fields 2021-03-29 19:45:45 +02:00
Folkert
1302ee296f refactor list walking 2021-03-29 16:32:43 +02:00
Folkert
9c56fbc6d1 add flag to not fail on problems (so we can see runtime errors in action) 2021-03-29 16:07:30 +02:00
Folkert
bbeb89d027 fix mono test 2021-03-29 15:40:03 +02:00
Folkert
2f087ae7b4 add missing #[test] 2021-03-29 15:39:19 +02:00
Folkert
5babeb9d5a remove runtime_errors field 2021-03-29 15:38:52 +02:00
Folkert
07d9fb3cc3 Merge remote-tracking branch 'origin/trunk' into panic-on-type-error 2021-03-29 15:11:24 +02:00
Anton-4
0cb6af04fd expanded comment 2021-03-29 12:02:33 +02:00
Anton-4
661f5f2adc removed unnecessary clone 2021-03-29 11:52:17 +02:00
Anton-4
a1f6fb206a actually set ed_model.dirty=false after new render 2021-03-29 11:31:11 +02:00
Anton-4
7c9eaae02b
Merge branch 'trunk' into input_record 2021-03-29 10:39:47 +02:00
rvcas
e4babd4445 chore(unify): move re-used logic into a helper function for TagUnion and Func 2021-03-28 23:42:29 -04:00
Lucas
7013ad49f9
Merge branch 'trunk' into applied_tag_functions 2021-03-28 21:56:29 -04:00
Richard Feldman
4ce520fed6
Merge pull request #1121 from rtfeldman/add-num-log
Add Num.log
2021-03-28 21:44:07 -04:00
Ju Liu
4b8a9a5299 Add more tests 2021-03-28 23:53:35 +01:00
rvcas
a0b9d8c5eb chore(mono/layout): remove useless import 2021-03-28 17:06:40 -04:00
Lucas
58b6a333d6
Merge branch 'trunk' into applied_tag_functions 2021-03-28 17:01:28 -04:00
rvcas
7628904019 feat(mono/ir): implement applied tag functions 2021-03-28 17:00:50 -04:00
rvcas
48b1b62aaa tests(test_gen): add get_tags tests for applied tag functions 2021-03-28 17:00:09 -04:00
Richard Feldman
51e7720658
Merge branch 'trunk' into add-num-log 2021-03-28 12:43:51 -04:00
Richard Feldman
706aaa26d3
Merge pull request #1122 from rtfeldman/num-sqrt-bugfix
Fix bug in Num.sqrt
2021-03-28 12:42:44 -04:00
Richard Feldman
3dd515b99d
Merge pull request #1120 from rtfeldman/list-product
List product
2021-03-28 12:42:20 -04:00
Richard Feldman
3b68898841
Merge pull request #1117 from rtfeldman/better_version_position
Put zig and llvm versions in better place
2021-03-28 12:42:08 -04:00
Ju Liu
8ccdeefdf2 Fix bug in Num.sqrt 2021-03-28 17:23:47 +01:00
Ju Liu
c48f415058 fix small typo 2021-03-28 17:13:12 +01:00
Ju Liu
cd59af1f9a Rename error to LogNeedsPositive 2021-03-28 17:09:42 +01:00
Ju Liu
0190bbb06d Add test for Num.log 2021-03-28 15:14:43 +01:00