Commit graph

1661 commits

Author SHA1 Message Date
Folkert
1302ee296f refactor list walking 2021-03-29 16:32:43 +02:00
Folkert
bbeb89d027 fix mono test 2021-03-29 15:40:03 +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
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