Commit graph

25254 commits

Author SHA1 Message Date
Folkert
9c85fb90d3
fix bugs 2023-06-24 14:49:47 +02:00
Folkert
0247237fe8
WIP 2023-06-24 14:49:46 +02:00
Folkert
4a9514d2c4
rough implementation 2023-06-24 14:49:46 +02:00
Folkert
76dcb75ff6
add Ptr lowlevels 2023-06-24 14:49:46 +02:00
Folkert
17512873e8
add LayoutRepr::Ptr 2023-06-24 14:49:45 +02:00
Anton-4
a9f7961b52
Merge pull request #5587 from Ivo-Balbaert/main
Update Result.roc
2023-06-22 15:33:20 +02:00
ibalbaert
6851741c8a
Update Result.roc
Changed deprecated Num.negate in Result.map docs to Num.neg

Signed-off-by: ibalbaert <ivo.balbaert@telenet.be>
2023-06-22 11:05:48 +02:00
Ayaz
e7ef037a7f
Merge pull request #5523 from roc-lang/i5517
Correctly interpret reordered tag union payloads
2023-06-21 10:16:43 -05:00
Anton-4
36325fe072
Merge pull request #5083 from roc-lang/restore-basic-cli-docs
Restore building basic cli docs on CI
2023-06-21 16:43:33 +02:00
Anton-4
9a2250cb3b
Merge pull request #5581 from roc-lang/readme-improvements
link to examples
2023-06-21 11:39:42 +02:00
Luke Boswell
bab222a0d3
Merge remote-tracking branch 'remote/main' into restore-basic-cli-docs 2023-06-21 13:56:59 +10:00
Anton-4
4a7d640699
link to examples
Also changed mentions of "Zulip chat" to "group chat", most people won't be familiar with Zulip

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-06-20 14:17:11 +02:00
Ayaz
5cafc50a50
Merge pull request #5574 from roc-lang/glue-limit-derives
glue: limit derives
2023-06-19 21:29:46 -05:00
Ayaz Hafiz
dca1a0d1da
Fix test 2023-06-19 21:11:24 -05:00
Ayaz Hafiz
14c2548828
Unnecessary static 2023-06-19 21:11:24 -05:00
Ayaz Hafiz
8e06b16530
Fix test 2023-06-19 21:11:24 -05:00
Ayaz Hafiz
ca57cce93c
Correctly interpret reordered tag union payloads
Closes #5517
2023-06-19 21:11:23 -05:00
Folkert de Vries
a997280dc9
Merge pull request #5568 from JTeeuwissen/no-reuse-non-unique
Don't reuse non unique symbols
2023-06-20 00:48:53 +02:00
J.Teeuwissen
495bbfd944
updated test 2023-06-19 22:51:10 +02:00
Folkert
02a5c53aed
format 2023-06-19 22:09:35 +02:00
J.Teeuwissen
315b7d73a4
non lazy 2023-06-19 21:10:00 +02:00
Folkert
f66a20ecff
make examples/glue work 2023-06-19 20:54:06 +02:00
J.Teeuwissen
343a548458
clippy ;( 2023-06-19 19:59:55 +02:00
J.Teeuwissen
efe91da38c
Changed token order 2023-06-19 19:55:01 +02:00
J.Teeuwissen
78c1855b66
Fixed logic 2023-06-19 17:41:57 +02:00
Richard Feldman
24e9209e81
Merge pull request #5572 from Hasnep/rename-str-trim-functions
Rename `trimLeft` to `trimStart` and `trimRight` to `trimEnd`
2023-06-19 07:51:43 -04:00
Hannes
97fa6758d0 Rename trimLeft to trimStart and trimRight to trimEnd 2023-06-19 13:17:59 +08:00
J.Teeuwissen
fdfa978ca8
added branch info and uniqueness check 2023-06-18 20:00:15 +02:00
Anton-4
d10d71cdec
Merge pull request #5549 from HajagosNorbert/builtin-docs
Add examples to the docs of builtin List functions
2023-06-18 11:28:19 +02:00
Folkert de Vries
020eb0c7dd
Merge pull request #5564 from roc-lang/tutorial-small-fixes
tutorial small fixes
2023-06-18 11:15:56 +02:00
Ayaz
f3be9c456c
Merge pull request #5560 from roc-lang/interner-avoid-mut
Avoiding passing target_info and mutable layout interner redundantly
2023-06-18 04:14:57 -05:00
Anton-4
b51689525d
Merge branch 'main' of github.com:roc-lang/roc into tutorial-small-fixes 2023-06-18 10:20:44 +02:00
Ayaz Hafiz
f07cf97128
Use arch-specific interner in glue 2023-06-17 18:13:03 -05:00
Ayaz Hafiz
d10893947f
Use rust 2018 macros 2023-06-17 18:13:03 -05:00
Ayaz Hafiz
41597cbab7
Do not make LayoutInterner mutable 2023-06-17 18:13:03 -05:00
Ayaz Hafiz
c81a652aaa
Dont insert into interner at all 2023-06-17 18:13:03 -05:00
Ayaz Hafiz
8aef12bd36
call_roc_function takes repr 2023-06-17 18:13:02 -05:00
Ayaz Hafiz
46e0ce32f4
no insert direct in expect 2023-06-17 18:13:02 -05:00
Ayaz Hafiz
61e28bc1d8
No need to insert into interner 2023-06-17 18:13:02 -05:00
Ayaz Hafiz
6139918e3b
Remove insert_direct_no_semantic in compare eq 2023-06-17 18:13:02 -05:00
Ayaz Hafiz
7ab044d79f
argument_type_from_layout takes layoutrepr 2023-06-17 18:13:02 -05:00
Ayaz Hafiz
ee25735731
LayoutIds use LayoutRepr 2023-06-17 18:13:02 -05:00
Ayaz Hafiz
94e97df54a
Remove mut layout interner from alias analysis 2023-06-17 18:13:02 -05:00
Ayaz Hafiz
390e9f8648
load_roc_value by layoutrepr 2023-06-17 18:13:01 -05:00
Ayaz Hafiz
07f40baf62
use_roc_value by layoutrepr 2023-06-17 18:13:01 -05:00
Ayaz Hafiz
5979405b79
Store value by layoutrepr 2023-06-17 18:13:01 -05:00
Ayaz Hafiz
bc41db2a34
Get rid of passing target_info a bunch 2023-06-17 18:13:00 -05:00
Ayaz Hafiz
8495f3b085
Have basic_type_from_layout take LayoutRepr 2023-06-17 18:12:17 -05:00
Brendan Hansknecht
555cbcc87b
Merge pull request #5567 from KilianVounckx/num-bitwise-not
Add bitwiseNot to Num module
2023-06-17 21:29:19 +00:00
Kilian Vounckx
10c34ef326
Fix bitwise operations documentation 2023-06-17 21:33:06 +02:00