Commit Graph

698 Commits

Author SHA1 Message Date
Folkert
c0c4f4c74b polish list signatures 2020-06-23 14:36:48 +02:00
Folkert
0696c5aa09 polish list signatures 2020-06-23 14:34:47 +02:00
Richard Feldman
3691152d20 Introduce the let_tvars! macro 2020-06-22 21:40:00 -04:00
Richard Feldman
0b106614f9 wip 2020-06-22 21:29:18 -04:00
Folkert
af33e26811 fix repeat 2020-06-23 00:02:36 +02:00
Folkert
2a7bf2ae66 fix map 2020-06-22 23:48:37 +02:00
Folkert
0fbac382d0 improve uniqueness signatures 2020-06-22 23:28:23 +02:00
Folkert
7de691b511 clarify list uniqueness signatures 2020-06-22 20:37:28 +02:00
Chad Stearns
830394eadf Comply with clippy 2020-06-21 17:24:14 -04:00
Chad Stearns
9376b4b988 empty_list helper 2020-06-21 14:03:04 -04:00
Chad Stearns
10aa44e12b More comments 2020-06-21 14:02:52 -04:00
Chad Stearns
3af1632ede Changed some commented out type signatures from List a to List elem 2020-06-21 13:30:49 -04:00
Chad Stearns
7125af2493 Switched from one list foldr type to the other in the test 2020-06-21 13:24:45 -04:00
Chad Stearns
197dc01ad8 Got rid of test for negative amount of repeats. We will worry about that later 2020-06-21 13:24:21 -04:00
Chad Stearns
ca411b11a3 Switched all i32 to i64 in gen builtins 2020-06-21 13:23:59 -04:00
Chad Stearns
e4eeff5bd0 List repeat works for all test cases except one with a negative number repeats param, and avoids malloc in the case that the number of repeats is not more than 0 2020-06-21 00:55:53 -04:00
Chad Stearns
6485b039c7 List repeats code gen works.. so long as its 5 2020-06-20 15:49:58 -04:00
Chad Stearns
7bf8be5e9a Merge branch 'trunk' of github.com:rtfeldman/roc into list-repeat 2020-06-20 13:45:04 -04:00
Chad Stearns
3af6d5f0b3 WIP 2020-06-19 21:02:52 -04:00
Richard Feldman
d5116d01b4 Ignore carriage returns 2020-06-16 23:04:00 -04:00
Richard Feldman
269da82840 Make VarStore no longer use atomics 2020-06-13 21:59:01 -04:00
Chadtech
52c4b80f7b
Merge branch 'trunk' into list-single 2020-06-08 08:45:00 -04:00
Chad Stearns
5ad05efa39 Merging in remote 2020-06-07 23:50:20 -04:00
Richard Feldman
a4338f0406 Remove lots of unnecessary clones (thanks clippy!) 2020-06-07 15:43:07 -04:00
Richard Feldman
72706a0ac0 clippy 2020-06-07 15:37:12 -04:00
Richard Feldman
e726d838ea Don't have builtins return Defs 2020-06-06 23:55:05 -04:00
Richard Feldman
093579780f Fix stack overflow 2020-06-06 23:47:00 -04:00
Richard Feldman
1ef85fa061 Store builtins as a Map 2020-06-06 23:47:00 -04:00
Chad Stearns
97cb4a737e List.single implementation 2020-06-03 18:56:23 -04:00
Chad Stearns
3ffd31d5f3 Merge branch 'is-positive-is-negative' of github.com:rtfeldman/roc into trigonometric-functions 2020-06-03 04:28:52 -04:00
Chadtech
af42e13c77
Merge branch 'trunk' into is-positive-is-negative 2020-06-03 01:39:00 -04:00
Richard Feldman
99dcda8603 Use inlinable_string 0.1 2020-05-31 20:14:19 -04:00
Chadtech
0641e287a6
Merge branch 'trunk' into is-positive-is-negative 2020-05-29 23:10:29 -04:00
Richard Feldman
eaf7e2df36 Improve a comment 2020-05-26 01:16:20 -04:00
Richard Feldman
f79ead7f02 Avoid cloning on the main thread 2020-05-26 01:03:07 -04:00
Richard Feldman
11e2f998fc Refactor alias cloning logic a bit 2020-05-26 00:58:14 -04:00
Richard Feldman
c47dc57fc2 Appease clippy 2020-05-26 00:41:57 -04:00
Richard Feldman
1b48c370a9 cargo fmt 2020-05-26 00:33:16 -04:00
Richard Feldman
4295dec955 Fix load_builtin_aliases ordering 2020-05-26 00:04:59 -04:00
Richard Feldman
f31e260e2f Don't log type mismatch info in release builds 2020-05-26 00:04:59 -04:00
Richard Feldman
c386192e8b Reorganize when solving and constraint gen happen 2020-05-26 00:04:42 -04:00
Richard Feldman
afacf1d6c4 Reorganize declarations and src 2020-05-25 17:45:02 -04:00
Chad Stearns
ca9272f229 Merge branch 'trunk' of github.com:rtfeldman/roc into trigonometric-functions 2020-05-25 16:29:04 -04:00
Chad Stearns
5c1c9efb89 Added trigonometric functions to code gen and builtins 2020-05-25 16:28:41 -04:00
Richard Feldman
64583a01bb move load::file::Module to can:: 2020-05-25 16:02:10 -04:00
Richard Feldman
1d6d9ec994 Fix doc parsing bug 2020-05-23 22:43:09 -04:00
Richard Feldman
715b13263c Reproduce doc parsing bug 2020-05-23 22:43:02 -04:00
Richard Feldman
7471cd5301 Add a test for parsing docs 2020-05-23 22:03:27 -04:00
Richard Feldman
3dac73d8d0 Parse doc comments 2020-05-23 22:03:21 -04:00
Richard Feldman
4d8cbc4811 Drop obsolete contains_newline method 2020-05-23 21:41:11 -04:00