Commit graph

1253 commits

Author SHA1 Message Date
Richard Feldman
e31b41864e
Use wrapping and saturating arithmetic in builtins 2023-08-14 20:01:25 -04:00
Richard Feldman
15a6bc34f4
Merge remote-tracking branch 'origin/main' into inspect-builtin 2023-08-14 15:03:27 -04:00
Richard Feldman
5d6c787deb
Special-case layout conversions for builtin alias 2023-08-14 14:58:28 -04:00
Richard Feldman
d41d976dac
Improve Hash.Hash docs a bit 2023-08-11 21:33:04 -04:00
Richard Feldman
c416e029a3
Remove some Dict and Set ability constraints 2023-08-11 21:19:36 -04:00
Richard Feldman
700776fad7
Make Inspect a builtin 2023-08-10 21:47:42 -04:00
Richard Feldman
6ba4aebb3b
roc format 2023-08-10 20:54:35 -04:00
Richard Feldman
2da41be29f
Merge remote-tracking branch 'origin/main' into abilities-syntax 2023-08-10 20:36:01 -04:00
Richard Feldman
b19d098e5f
Fix test 2023-07-31 13:46:12 -04:00
Richard Feldman
dfa5577332
Don't have Str.replace functions return Result 2023-07-31 09:26:54 -04:00
Richard Feldman
64c49ddbc9
Improve some List docs 2023-07-23 13:59:27 -04:00
Richard Feldman
1d5c5b25ec
Merge remote-tracking branch 'origin/main' into linux64 2023-07-11 11:33:31 -04:00
Folkert
ef39bad7c6
auto clippy fixes 2023-07-10 18:27:08 +02:00
Kiryl Dziamura
1bb3c3d1dd
Make has have 4 identation spaces 2023-07-04 11:24:40 +02:00
Anton-4
c4b0a2ec29
Merge pull request #5620 from roc-lang/dict-set
Add some missing Dict and Set functions
2023-06-29 12:06:49 +02:00
Richard Feldman
0ade2a85d2
Merge pull request #5622 from roc-lang/reset-reuse-free
free or reuse unconditionally when value is unique
2023-06-28 09:58:10 -04:00
Folkert
f04295863d
reuse free'ing logic 2023-06-27 19:37:22 +02:00
Richard Feldman
ed9d9b12f5
Add some missing Dict and Set functions
Also remove some unnecessary Hash and Eq restrictions
2023-06-27 11:50:58 -04:00
Folkert
fc3004da58
free or reuse unconditionally when value is unique 2023-06-27 17:37:45 +02:00
Brendan Hansknecht
4f97ab2965
remove old compiler-rt workarounds for macos 2023-06-24 17:27:11 -07: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
Richard Feldman
9a7877cf29
Force PIC when building Zig builtins 2023-06-21 09:06:35 -04:00
Richard Feldman
44e48e1415
Build Zig builtins for aarch64 2023-06-21 08:47:38 -04:00
Richard Feldman
84542b2b02
Drop obsolete comment
There's an open design question as to whether we want to commit
to supporting this, so dropping the comment.
2023-06-21 08:46:40 -04:00
Hannes
97fa6758d0 Rename trimLeft to trimStart and trimRight to trimEnd 2023-06-19 13:17:59 +08: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
Kilian Vounckx
10c34ef326
Fix bitwise operations documentation 2023-06-17 21:33:06 +02:00
HajagosNorbert
4e06c09e37
ran roc format on changed List.roc file 2023-06-17 21:28:20 +02:00
HajagosNorbert
892d5e2c78
Merge branch 'main' into builtin-docs 2023-06-17 21:25:25 +02:00
Kilian Vounckx
5512dd9675
Add documentation for bitwise functions 2023-06-17 20:25:36 +02:00
Kilian Vounckx
402a89237d
Add Num.bitwiseNot function 2023-06-17 20:08:33 +02:00
Kilian Vounckx
ab0969f7bb
Add fractional constants 2023-06-15 20:31:17 +02:00
Anton-4
c8ebe9071c
Box.roc documentation
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-06-14 11:09:37 +02:00
HajagosNorbert
fe2e175d0f
add examples to builtin List 2023-06-13 20:12:32 +02:00
HajagosNorbert
232e9030ae
Add docs to List.get with example 2023-06-13 20:12:29 +02:00
Bryce Miller
0132df9b5a
merge main 2023-06-10 15:04:25 -04:00
Fábio Beirão
d7f03a680e
Run roc format on builtins
Contributes to #5533
2023-06-09 16:07:14 +02:00
Fábio Beirão
ec94fc87a5
Add Num.min and Num.max
Implements #5533
2023-06-09 14:17:54 +02:00
Luke Boswell
092676c4b7
Merge remote-tracking branch 'remote/main' into remove-json 2023-06-07 15:38:01 +10:00
Bryce Miller
29561372de
merge main 2023-06-05 20:21:44 -04:00
Bryce Miller
cb08225bf0
| -> where 2023-06-05 20:19:00 -04:00
Luke Boswell
d9a5fe9034
roc format 2023-06-04 18:24:14 +10:00
Luke Boswell
c1ff49be6c
change just Json module name 2023-06-04 17:37:01 +10:00
Brendan Hansknecht
829b71aa1f
fully take ownership of memcpy in the builtins 2023-06-03 19:05:19 -07:00
Brendan Hansknecht
a745b57fb2
move cpuid functions into separate assembly file 2023-06-02 16:16:40 -07:00
Brendan Hansknecht
b899b54354
change assembly comment style to hopefully fix windows 2023-06-02 15:54:08 -07:00
Brendan Hansknecht
341ef9bb7b
prefix assembly functions with _ on macos 2023-06-02 15:26:39 -07:00
Brendan Hansknecht
60babcc56e
fix typo 2023-06-02 15:23:07 -07:00
Brendan Hansknecht
7b8bd988d4
change to more specific .balign assembly attribute 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
60e70c6b1b
add workaround for wasm tests 2023-06-02 15:23:06 -07:00