Luke Boswell
2e0c83ae63
fixes for zig tests Windows
2023-09-12 19:28:11 +10:00
Richard Feldman
dc7e8b43bd
Rename Float to Frac in more places
2023-09-11 08:50:13 -04:00
Brendan Hansknecht
2cf4f65d97
Update to wyhash final 4
...
This update makes wyhash bad seed resist.
In old version of wyhash certain seeds would ruin the randomness.
Changes applied can be are based off of this diff:
a5995b9..77e50f2
2023-09-08 16:02:38 -07:00
Richard Feldman
b54a37e4b0
Merge remote-tracking branch 'origin/main' into walk-with-index
2023-08-17 11:54:34 -04:00
Richard Feldman
d63144489a
Merge remote-tracking branch 'origin/main' into walk-with-index
2023-08-17 00:08:50 -04:00
Anton-4
63b7fef60f
Merge + update mono tests
2023-08-16 19:21:34 +02:00
Anton-4
2eb8326a70
Merge pull request #5753 from roc-lang/fix-missing-docs-stuff
...
Fix various missing docs implementations
2023-08-16 16:10:01 +02:00
Richard Feldman
ec4f1ce12b
Merge pull request #5762 from roc-lang/inc-dec
...
Use wrapping and saturating arithmetic in builtins
2023-08-15 09:13:35 -04:00
Richard Feldman
df21104457
Inline inc and dec
...
This is for the dev backend's benefit
2023-08-15 02:39:37 -04:00
Richard Feldman
b2d3db3ce9
Fix naming collision in List.roc
2023-08-15 02:29:26 -04:00
Richard Feldman
c3b556ffbc
Add List.walkWithIndex
2023-08-15 02:29:25 -04:00
Richard Feldman
bac445b39b
Simplify List.walk (e.g. for dev backend)
2023-08-15 02:28:41 -04:00
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