Commit graph

2985 commits

Author SHA1 Message Date
rvcas
565cf21e1e fix(tests): need to adjust tests after changing builtin function types 2021-01-05 09:18:24 -05:00
rvcas
62b496b221 feat(builtins): use Nat for List functions and counting functions 2021-01-05 01:08:56 -05:00
Richard Feldman
ba9448619a
Merge branch 'trunk' into list-eq 2021-01-04 22:53:14 -05:00
Folkert
1126957739 tag arguments are in InTypeParam position 2021-01-04 23:50:38 +01:00
Folkert
9227464de8 change type variable 2021-01-04 23:36:47 +01:00
Folkert
5256b1aa5c also default to i64/f64 for rigid vars 2021-01-04 23:36:17 +01:00
Folkert
b80865778e literal patterns should have type Int a or Float a 2021-01-04 23:35:29 +01:00
rvcas
27cfd4d7ad more test fixes 2021-01-04 15:18:49 -05:00
rvcas
0aca5ae89a fix: fmt issue in gen_num.rs 2021-01-04 10:03:40 -05:00
rvcas
74f76fc97b fix: needs a third argument 2021-01-04 09:54:51 -05:00
rvcas
b34436e5cb Merge branch 'trunk' into int_a_float_a 2021-01-04 09:53:45 -05:00
rvcas
a123bfa3ee fix: tests compile and repl_eval 2021-01-04 09:46:10 -05:00
Folkert
16abefa10d fix whitespace 2021-01-04 14:55:54 +01:00
Richard Feldman
fb95c72127
Merge branch 'trunk' into list-eq 2021-01-04 08:44:30 -05:00
Richard Feldman
07c9c962e4
Merge pull request #864 from rtfeldman/str-eq
Equality on Str
2021-01-04 08:43:30 -05:00
Folkert
504c3cddb9 comments 2021-01-03 20:32:55 +01:00
Folkert
26ce7b6ef0 clippy 2021-01-03 20:10:30 +01:00
Folkert
a7cf98df9b add == and != for lists 2021-01-03 20:09:28 +01:00
Chadtech
d3b569f6eb Reformatted some comments and rearranged things within the RocDict def 2021-01-03 13:17:03 -05:00
Folkert
23ed281345 clippy 2021-01-03 03:14:05 +01:00
Folkert
6749606450 add tests for RocStr clone 2021-01-03 03:12:49 +01:00
Folkert
0abc1cce15 make RocStr clone 2021-01-03 03:04:28 +01:00
Folkert
981a84ccee List.keepIf must consume its list argument 2021-01-02 23:17:50 +01:00
Folkert
2ac19fb6e3 add equality for strings 2021-01-02 18:50:29 +01:00
Folkert
6ed01f357a add tests 2021-01-02 18:01:55 +01:00
Folkert
bc5df97903 invoke in more cases 2021-01-02 17:51:04 +01:00
Chadtech
12d836bfb0 Many functions taken an allocator 2021-01-02 01:45:22 -05:00
Chadtech
00ec961bfe Switch method function names from snake case to camel case 2021-01-02 00:09:44 -05:00
Chadtech
f4a85160d1 Ran Zig fmt on dict.zig 2021-01-01 21:45:52 -05:00
Chadtech
2e1d1a7602 Re-arrange expected and found value in RocDict.init test to fix compile error 2021-01-01 21:44:45 -05:00
Chadtech
83cfbf9044 Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-01 21:19:35 -05:00
Chadtech
58d33e643d Made entries recursive 2021-01-01 21:08:13 -05:00
Folkert
2db627519b clippy 2021-01-02 00:58:18 +01:00
Folkert
6714a68f3d Merge remote-tracking branch 'origin/trunk' into ir-invoke 2021-01-02 00:55:22 +01:00
Folkert
6e0f57d7eb make invoke work 2021-01-02 00:55:09 +01:00
Jared Ramirez
faa8f66b6c Add gen support for Nat 2021-01-01 17:40:47 -06:00
Jared Ramirez
37510e6aae Add rest of gen_num tests 2021-01-01 16:35:55 -06:00
Folkert
2a3bf72d60 fleshing out invoke 2021-01-01 21:16:18 +01:00
Folkert
f8a8c26d2d clippy 2021-01-01 20:27:43 +01:00
Folkert
6eb8684c2b basic implementation of invoke for gen_dev 2021-01-01 20:27:08 +01:00
Folkert
d27c56eba8 basic implementation of invoke for llvm 2021-01-01 20:22:05 +01:00
Folkert
0ef70f55ea invoke in mono 2021-01-01 20:14:05 +01:00
Folkert
ca24f1cd38 fix llvm build 2021-01-01 16:28:35 +01:00
Folkert
5a6bd1e187 fix gen_dev 2021-01-01 16:20:27 +01:00
Folkert
0893aa7369 call changes in mono 2021-01-01 16:11:31 +01:00
Richard Feldman
c420893fe2
Merge pull request #853 from rtfeldman/bye-cond
remove Cond from the mono IR
2021-01-01 00:11:32 -05:00
Richard Feldman
b018a15075 Revise some builtin docs 2020-12-31 23:41:57 -05:00
Folkert
6bc0cf33a5 add unreachable instruction to the mono IR 2021-01-01 02:26:56 +01:00
Folkert
ccd302cbe9 format 2021-01-01 00:54:18 +01:00
Folkert
754521c4c3 all the clippy fixes 2021-01-01 00:40:41 +01:00