Commit graph

677 commits

Author SHA1 Message Date
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
Chad Stearns
c83a6dc7b8 Float function isPositive, isNegative, and isZero 2020-05-22 23:05:17 -04:00
Chad Stearns
3fef390a76 Merging in remote 2020-05-20 20:43:15 -04:00
Richard Feldman
62a399c569 Make things mobile-friendly 2020-05-18 23:21:36 -04:00
Chad Stearns
a01bdd66c5 isZero, isPositive, isNegative 2020-05-18 12:49:27 -04:00
Richard Feldman
33d4af8b5b Add some stuff to Num docs 2020-05-14 22:02:05 -04:00
Richard Feldman
6e32c31c06 Try moving Int and Float docs into Num 2020-05-14 20:47:34 -04:00
Richard Feldman
7f05678bf8
Merge branch 'trunk' into int-rem 2020-05-13 22:53:31 -04:00
Chad Stearns
0140c4ca9f Removed div_by_zero function where it wasnt needed 2020-05-13 19:09:50 -04:00
Chad Stearns
c8d62bd838 Int.isOdd and Int.isEven functions in code gen 2020-05-13 18:57:15 -04:00
Chad Stearns
7df4771f7b Int.rem 2020-05-13 04:27:08 -04:00
Richard Feldman
9e70fceb33 Wrote a bunch of string docs 2020-05-11 23:43:30 -04:00
Richard Feldman
c752d1607a Update Float to mention binary and decimal floats 2020-05-11 23:43:30 -04:00
Richard Feldman
101e90e437 Go back to Float 2020-05-11 23:43:30 -04:00
Richard Feldman
045f1627a0 Try Real 2020-05-11 23:43:30 -04:00
Richard Feldman
1a348d1731 Write some docs 2020-05-11 23:38:18 -04:00
Richard Feldman
b5e4066c49 clippy clop 2020-05-10 15:22:05 -04:00
Richard Feldman
33a5f36d7c Refactor out name arg from from_can 2020-05-10 15:13:18 -04:00
Richard Feldman
85ec1e0f72 Fix anonymous function code gen 2020-05-10 15:13:18 -04:00
Richard Feldman
bf11262e61 Move layout_id from mono to gen
This is because it's actually important that mono never use this.
It should only be used in gen, because it's only safe to use
synchronously, and it's important that mono be done in parallel.

Moving it to gen guarantees that mono will not use it, even accidentally!
2020-05-10 15:13:18 -04:00
Richard Feldman
bd6228de8b Prevent infinite looping in code gen 2020-05-10 15:13:18 -04:00
Richard Feldman
e26df0d8cb Drop unused ContentHash 2020-05-10 15:13:18 -04:00