Commit graph

691 commits

Author SHA1 Message Date
Bryce Miller
cb08225bf0
| -> where 2023-06-05 20:19:00 -04:00
Bryce Miller
b4aa4a9089
Fix syntax derp 2023-06-02 07:53:38 -04:00
Bryce Miller
7e8a151604
Merge branch 'main' into abilities-syntax 2023-06-01 12:57:16 -04:00
Folkert de Vries
e59404b6fa
Merge pull request #5495 from roc-lang/dev-backend-nullable-wrapped
Dev backend nullable wrapped
2023-06-01 17:11:14 +02:00
Brendan Hansknecht
7683c5ae53
Stop using llvm instrinsics that just call libc
In a future PR. I will change zig to insure that all of these instrinsics
use musl directly and do not call out to the linked libc.
2023-05-31 20:00:04 -07:00
Folkert
f6fafdb019
nullable unwrapped for the dev backend 2023-06-01 00:02:38 +02:00
Anton-4
f6b76f2df5
Num.exp is Num.pow now
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-05-31 15:28:31 +02:00
Brendan Hansknecht
e7906b30a9
add other compiler-rt functions in builtins.o 2023-05-30 14:38:10 -07:00
Brendan Hansknecht
fe4577ce4c
fix typo 2023-05-30 09:38:30 -07:00
Brendan Hansknecht
81e8812f38
Add all fns in compiler-rt that builtins are known to depend on
Also removes the workaround in the surigical linker.
This should mean we should get clear errors if we missed a function instead of crashes/segfaults.
2023-05-30 09:21:59 -07:00
Bryce Miller
35a27daecf
formatting 2023-05-30 07:32:29 -04:00
Brendan Hansknecht
fa57788c09
Merge pull request #5460 from roc-lang/dict-tuple
switch Dict to real tuples
2023-05-29 15:00:38 +00:00
Bryce Miller
98338f6e20
has -> implements 2023-05-29 08:35:51 -04:00
Bryce Miller
ffa622e065
Merge branch 'main' into abilities-syntax
Signed-off-by: Bryce Miller <sandprickle@users.noreply.github.com>
2023-05-29 13:42:36 +02:00
Brendan Hansknecht
0e28423aea
fix segfault in Num.toStr for Dec 2023-05-28 20:37:32 -07:00
Brendan Hansknecht
e8952dfc71
switch Dict to real tuples 2023-05-26 15:39:42 -07:00
Ayaz Hafiz
3585d5bb5b
Implement hash for Dec 2023-05-26 11:38:30 -05:00
Brendan Hansknecht
0b475ae979
Merge pull request #5445 from roc-lang/dict-pseudo-seed
Seed Dict and Set
2023-05-26 16:19:15 +00:00
Brendan Hansknecht
90636d14c8
add extra note on security 2023-05-26 07:31:35 -07:00
Fábio Beirão
35820414c1
Add Types header on the List module 2023-05-26 14:01:02 +02:00
Fábio Beirão
7d84334822
Further "returns" consistency on the Num module 2023-05-26 13:57:18 +02:00
Fábio Beirão
028f28c731
Fix denominator typo 2023-05-26 13:44:59 +02:00
Fábio Beirão
9f6d8d02f7
Return/Returns Add/Adds .. consistency for the Num module 2023-05-26 13:44:30 +02:00
Fábio Beirão
00ee063095
Return/Returns consistency for the Num module 2023-05-26 13:38:34 +02:00
Fábio Beirão
ad6bd540a7
Remove redundant can
Better readability, IMO.
2023-05-26 13:38:33 +02:00
Fábio Beirão
658491fe52
Fix typo, these savings instead of this savings 2023-05-26 13:38:33 +02:00
Fábio Beirão
fbbe2f6294
Fix U8 example, 2^8 instead of 2^16 numbers 2023-05-26 12:25:15 +02:00
Fábio Beirão
684fa4a0c7
Return/Returns consistency for the Result module 2023-05-26 12:18:48 +02:00
Fábio Beirão
8e9569c81e
Return/Returns consistency for the Box module 2023-05-26 12:11:24 +02:00
Fábio Beirão
698c9715af
Use serialize instead of serialise
The rest of the documentation prefers the en-US spelling
2023-05-26 10:16:47 +02:00
Fábio Beirão
03f4798d5a
Typo in Json module: exchange 2023-05-26 10:15:46 +02:00
Fábio Beirão
07568df92b
Use optimization instead of optimisation 2023-05-26 10:11:43 +02:00
Fábio Beirão
0c3bb35d66
Remove unnecessary hashes from Dict docs 2023-05-26 10:08:14 +02:00
Fábio Beirão
fb141af353
Typo: it's/its capacity 2023-05-26 10:05:24 +02:00
Fábio Beirão
fd68772b4d
Whitespace preventing consistent format 2023-05-26 10:05:04 +02:00
Fábio Beirão
3b7245f980
Typo in "particular case" 2023-05-26 10:04:43 +02:00
Fábio Beirão
e5e68266f9
Fix small typo on List module 2023-05-26 09:58:57 +02:00
Fábio Beirão
d60f1deebc
Fix small typos on Num module 2023-05-26 09:44:31 +02:00
Fábio Beirão
364208f37c
Fix small typo on Num.div 2023-05-26 00:06:27 +02:00
Brendan Hansknecht
b4c359588e
Seed Dict and Set
This changes Dict and Set to have a compilation depedent seed.
The seed is not exposed to userland in anyway.
This gets a much more DOS resistant Dict and Set with no cost.
2023-05-25 09:55:48 -07:00
Ayaz Hafiz
d5f8af8021
Turn set test back on 2023-05-24 14:13:40 -05:00
Brendan Hansknecht
4cac15eb2b
remove stale comment 2023-05-24 10:48:40 -07:00
Brendan Hansknecht
877be563ba
add Hash and Eq to Dict and Set 2023-05-24 10:38:47 -07:00
Bryce Miller
55bb8f4b6c
fix typo 2023-05-24 10:53:13 -04:00
Bryce Miller
57c01de792
has [...] -> implements [...] 2023-05-24 10:36:18 -04:00
Bryce Miller
44d3396508
builtin opaque type abilites has -> implements 2023-05-20 19:47:17 -04:00
Bryce Miller
b1d592ec37
has clause -> implements clause 2023-05-20 07:15:30 -04:00
Luke Boswell
4d4cfcf981
merge remote/main and update mono tests 2023-05-15 16:51:56 +10:00
Folkert
317a8880c1
better debug info if dec on invalid pointer 2023-05-14 18:01:47 +02:00
Folkert
dd8739b847
better debug info if inc on invalid pointer 2023-05-14 15:20:43 +02:00