Commit graph

1503 commits

Author SHA1 Message Date
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
a66c60cf4d
Merge pull request #1111 from rtfeldman/docs-improvements
Fix some docs styles on mobile
2021-03-26 08:21:55 -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 de Vries
5f36da98ee
Merge branch 'trunk' into ir-cleanup 2021-03-25 15:08:54 +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
e3b65b1ce0 Merge remote-tracking branch 'origin/trunk' into import-builtin-mod 2021-03-23 15:40:27 +01:00
Folkert
589b579689 refactor 2021-03-23 14:31:35 +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
Folkert
73e6128ce3 parse multi-backtracking 2021-03-19 00:10:02 +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
Anton-4
480666e4e3 removed unused dependencies using cargo-udeps #1036 2021-03-06 12:07:09 +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
74388e8cc8 fix mono tests 2021-03-03 23:14:31 +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
Folkert
b7ed6929ba append must now own its first argument too 2021-03-03 20:08:50 +01:00
Folkert
447df1f0f7 only reuse call-by-pointer wrapper if same layout 2021-03-02 23:02:41 +01:00
Folkert
84d036bd91 don't respecialize call by pointer wrappers 2021-03-02 20:23:22 +01:00
Folkert
7304154452 update comment 2021-02-24 21:36:16 +01:00
Folkert
6bd10ddc05 use imported module thunks for pointer calling 2021-02-24 16:23:35 +01:00
Folkert
a361148380 add imported_module_thunks 2021-02-24 16:09:47 +01:00
Folkert
c24d51e69d remove old function 2021-02-24 15:14:52 +01:00
Folkert
9116e9e8c9 add Str.toBytes 2021-02-21 19:52:32 +01:00
Folkert
43e71f2ee9 int cast 2021-02-21 16:07:35 +01:00
Folkert
128741e585 add right shift operators 2021-02-21 16:01:01 +01:00
Folkert
93359b88cb Merge remote-tracking branch 'origin/str-fromUtf8' into bytes 2021-02-21 15:31:49 +01:00
Folkert
8c2c6b0d5c Merge remote-tracking branch 'origin/trunk' into str-fromUtf8 2021-02-21 15:25:47 +01:00