Commit graph

1323 commits

Author SHA1 Message Date
Eric Henry
8e36b5797b Merge branch 'trunk' of github.com:rtfeldman/roc into builtin-sortby 2021-04-03 10:03:45 -04:00
Folkert
61b7be7838 remove pub fn 2021-04-01 21:45:50 +02:00
Folkert
f2c144f58c Merge remote-tracking branch 'origin/can-builtins-simplify' into list-range 2021-03-31 11:34:32 +02:00
Folkert
5d8d2bb030 Merge remote-tracking branch 'origin/trunk' into can-builtins-simplify 2021-03-31 11:29:33 +02:00
Richard Feldman
4dc1018aee
Merge pull request #1130 from rtfeldman/rc-missed-opt
fix missed RC optimization opportunity
2021-03-30 23:06:41 -04:00
Richard Feldman
24ef9aa81a
Merge pull request #1126 from rtfeldman/list-walk-until
List walk until
2021-03-30 22:08:35 -04:00
Folkert
e3293f1ba9 remove list sum and product lowlevel ops 2021-03-30 22:55: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
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
Folkert
d718e21fd3 add List.range 2021-03-29 23:00:49 +02:00
Folkert
1302ee296f refactor list walking 2021-03-29 16:32:43 +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
Lucas
7013ad49f9
Merge branch 'trunk' into applied_tag_functions 2021-03-28 21:56:29 -04: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
Richard Feldman
51e7720658
Merge branch 'trunk' into add-num-log 2021-03-28 12:43:51 -04:00
Ju Liu
928249df2a Add Num.log and wire it up 2021-03-28 15:02:45 +01:00
rvcas
6e1f42f990 Merge branch 'trunk' into applied_tag_functions 2021-03-27 18:00:46 -04:00
rvcas
fe9e9af576 tests(test_gen): add tests for mono 2021-03-27 18:00:36 -04:00
Peter Fields
fed470b316 add list-product builtin function 2021-03-27 20:15:16 +00:00
Folkert
5a8eb2ab39 on specialize failure, call runtime error function 2021-03-27 19:55:59 +01:00
Folkert
3b458309c6 WIP emit runtime error functions on specialization failure 2021-03-26 21:57:50 +01:00
Richard Feldman
3f76c6314c
Merge branch 'trunk' into ir-cleanup 2021-03-26 12:59:32 -04:00
Richard Feldman
6e95d05a57 Add some more clippy allows 2021-03-26 07:46:16 -04:00
Folkert
89f5e0465e Revert "WIP emit runtime error functions on specialization failure"
This reverts commit 090a7063d5.
2021-03-25 16:57:01 +01:00
Folkert
090a7063d5 WIP emit runtime error functions on specialization failure 2021-03-25 16:56:47 +01:00
Folkert
dd8bdcb806 show platform header in error messages 2021-03-23 23:00:18 +01:00
Folkert
715ab9ff2e actually blow up on invalid pattern 2021-03-23 22:01:22 +01:00
Folkert
55cb780249 don't clone Layout 2021-03-22 14:08:48 +01:00
Folkert
fa013e7d01 make layout Copy 2021-03-22 13:21:30 +01:00
Folkert
2fce825366 pass by reference 2021-03-22 13:18:16 +01:00
Folkert
ca9048ee17 cleanup 2021-03-22 13:10:38 +01:00
Folkert
addf130be5 optimize Path 2021-03-22 13:09:56 +01:00
Folkert
fdebfa6b3f cloning 2021-03-22 11:58:13 +01:00
Folkert
6a34c08049 cleanup 2021-03-20 01:05:05 +01:00
Eric Henry
1e9bd0d7f1 implement isMultipleOf builtin 2021-03-14 14:52:38 -04:00
Eric Henry
aa6d5b9e34 fix clippy linting errors 2021-03-12 20:48:34 -05:00
Eric Henry
66f07d984e Merge branch 'trunk' of github.com:rtfeldman/roc into builtin-maxI128 2021-03-12 17:40:57 -05:00
Eric Henry
4d046abefa builtin maxI128 initial 2021-03-09 12:47:42 -05:00
rvcas
268ab82410 feat(List): add map3 2021-03-08 21:12:19 -05:00
Folkert
2faeda29f2 Err with void type 2021-03-06 23:07:03 +01:00
Richard Feldman
1211fa93f7
Merge pull request #1049 from rtfeldman/map2
List.map2
2021-03-05 22:55:12 -05:00
Folkert
2e73e47673 setup
just some stuff we need in place for the parser to recognice map2 and to give it a (hardcoded) type
2021-03-04 14:42:43 +01:00
Folkert
ee5d68a6cc better debug reporting 2021-03-03 22:31:17 +01:00
Folkert
b4f86c449f try harder to find a list element type 2021-03-03 21:34:10 +01:00
Folkert
25827fc70e more debug info 2021-03-03 20:09:21 +01:00