Commit graph

666 commits

Author SHA1 Message Date
Folkert
0bd05f3ecf remove second macro def 2021-03-30 21:23:06 +02:00
Eric Henry
7045737669 sortWith boilerplate done 2021-03-30 11:05:31 -04:00
Folkert
d718e21fd3 add List.range 2021-03-29 23:00:49 +02:00
Folkert
1302ee296f refactor list walking 2021-03-29 16:32:43 +02:00
Richard Feldman
51e7720658
Merge branch 'trunk' into add-num-log 2021-03-28 12:43:51 -04:00
Richard Feldman
706aaa26d3
Merge pull request #1122 from rtfeldman/num-sqrt-bugfix
Fix bug in Num.sqrt
2021-03-28 12:42:44 -04:00
Ju Liu
8ccdeefdf2 Fix bug in Num.sqrt 2021-03-28 17:23:47 +01:00
Ju Liu
c48f415058 fix small typo 2021-03-28 17:13:12 +01:00
Ju Liu
cd59af1f9a Rename error to LogNeedsPositive 2021-03-28 17:09:42 +01:00
Ju Liu
928249df2a Add Num.log and wire it up 2021-03-28 15:02:45 +01:00
Peter Fields
fed470b316 add list-product builtin function 2021-03-27 20:15:16 +00:00
Richard Feldman
e1c70fddec
Merge pull request #1093 from rtfeldman/type-identifier-messages
Type identifier messages
2021-03-21 19:20:18 -04:00
Folkert
03a90faa37 clippy 2021-03-21 22:53:05 +01:00
Folkert
b681923270 report malformed type names in annotations 2021-03-21 22:52:23 +01:00
Folkert
ef211ce49a clippy 2021-03-21 22:15:47 +01:00
Folkert
ce98da9d04 remove Nested from Def 2021-03-21 21:14:32 +01:00
Folkert
2827af7e59 remove Nested from pattern 2021-03-21 21:03:37 +01:00
Folkert
197835b6ed remove nested in expr 2021-03-21 20:56:18 +01:00
Folkert
19f05c9db8 remove old code 2021-03-21 20:55:07 +01:00
Folkert
165a2d83ff cleanup 2021-03-21 00:24:58 +01:00
Folkert
8b8afec50e remove allocation 2021-03-20 23:51:55 +01:00
Folkert
1871697b0f remove BinOp variant 2021-03-20 23:01:12 +01:00
Folkert
ad40609d44 cleanup 2021-03-20 22:36:08 +01:00
Folkert
d5ec66244f use new binops 2021-03-20 21:19:10 +01:00
Folkert
e0c211081a remove update field from normal Record constructor 2021-03-20 16:49:14 +01:00
Folkert
60265b5d2a add dedicated RecordUpdate tag to parse ast 2021-03-20 16:06:07 +01:00
Folkert
0e7106280c bump allocate precedence conflict 2021-03-20 15:59:06 +01:00
Folkert
9208000316 only store start position for PrecedenceConflict 2021-03-20 15:34:08 +01:00
Folkert
d22acb521e use record for PrecedenceConflict 2021-03-20 15:07:15 +01:00
Folkert
9d10b060da clippy 2021-03-17 21:19:26 +01:00
Folkert
ecc689e84b Merge remote-tracking branch 'origin/trunk' into expression-move 2021-03-15 23:18:48 +01:00
Folkert
41bfb0b69a all tests working again 2021-03-15 21:49:19 +01:00
Richard Feldman
1f29fc4358
Merge branch 'trunk' into singleton-to-single 2021-03-15 00:42:59 -04:00
Richard Feldman
9408a271d2
Merge branch 'trunk' into expression-move 2021-03-14 23:57:58 -04:00
Chadtech
1e9cf7ba89
Merge branch 'trunk' into singleton-to-single 2021-03-14 21:58:08 -04:00
Chadtech
b22672fb0e Changed singleton to single 2021-03-14 21:57:10 -04:00
Eric Henry
1e9bd0d7f1 implement isMultipleOf builtin 2021-03-14 14:52:38 -04:00
Folkert
e135351208 Merge remote-tracking branch 'origin/trunk' into expression-move 2021-03-14 13:08:14 +01:00
Folkert
0be4704f94 checkpoint working parse tests 2021-03-13 15:49:07 +01:00
Eric Henry
f86888de46 fix tests, i64 conversions 2021-03-12 21:16:32 -05:00
Eric Henry
fe60805278 fix test, expect i128 2021-03-12 20:56:52 -05:00
Eric Henry
66f07d984e Merge branch 'trunk' of github.com:rtfeldman/roc into builtin-maxI128 2021-03-12 17:40:57 -05:00
Folkert
214112d751 Revert "store is_negative for all number literals in the parse ast"
This reverts commit 182fd5201d.
2021-03-12 16:43:52 +01:00
Folkert
4b903e5531 Revert "implement negation"
This reverts commit e5e38f03bc.
2021-03-12 16:37:48 +01:00
Folkert
1663822ac9 Revert "deadend"
This reverts commit 06278c2efe.
2021-03-12 16:37:44 +01:00
Folkert
06278c2efe deadend 2021-03-12 16:37:00 +01:00
Folkert
e5e38f03bc implement negation 2021-03-12 16:17:11 +01:00
Folkert
182fd5201d store is_negative for all number literals in the parse ast 2021-03-12 16:11:46 +01:00
Folkert
9c95392cc6 Merge remote-tracking branch 'origin/trunk' into opt-parser 2021-03-12 03:47:49 +01:00
Folkert
cba55734cb clean up helpers 2021-03-12 03:41:01 +01:00