Commit Graph

20534 Commits

Author SHA1 Message Date
Brendan Hansknecht
856f051619
Merge pull request #4318 from roc-lang/roc-hasher-impl
Roc hasher impl
2022-10-14 19:53:56 +00:00
Ayaz Hafiz
5e35b6458a
Apply lint suggestions 2022-10-14 13:56:01 -05:00
Ayaz Hafiz
65f1bd2907
Fix rigid able bindings to abilities 2022-10-14 13:56:01 -05:00
Ayaz Hafiz
20e4295eea
Make sure type variables bound to abilities are instantiated in aliases
Closes #4259
2022-10-14 13:56:00 -05:00
Ayaz Hafiz
effa377a28
roc test Dict.roc in CI 2022-10-14 13:46:52 -05:00
Ayaz Hafiz
12ecdab4c5
Add listGetUnsafe to Dict.roc rather than exposing from list 2022-10-14 13:43:31 -05:00
Brendan Hansknecht
5a86f611fa
add some TODOs 2022-10-14 07:55:07 -07:00
Brendan Hansknecht
d87a750f7c
misc cleanup 2022-10-14 07:45:50 -07:00
Brendan Hansknecht
bb26844cf1
add tests for Hash.hashStrBytes and Hash.hashUnordered 2022-10-14 07:45:50 -07:00
Brendan Hansknecht
382eaf88c2
add a bunch of tests 2022-10-14 07:45:50 -07:00
Brendan Hansknecht
e937a9078c
add Hasher.reset and Hash.hashUnordered 2022-10-14 07:45:50 -07:00
Brendan Hansknecht
ab16effa00
correct lengths 2022-10-14 07:45:50 -07:00
Brendan Hansknecht
0a31173029
expose List.getUnsafe for use in Dict 2022-10-14 07:45:50 -07:00
Brendan Hansknecht
6445f26529
remove hashUnordered for now, needs more methods 2022-10-14 07:45:50 -07:00
Brendan Hansknecht
7a8dee888d
add hashUnordered that uses a walk method and hashes all elements 2022-10-14 07:45:50 -07:00
Brendan Hansknecht
f398bb1eff
switch hashStr to use addBytes 2022-10-14 07:45:49 -07:00
Brendan Hansknecht
49c3fe1643
add version of wyhash to roc lib 2022-10-14 07:45:49 -07:00
Anton-4
b3d3e93b97
add os version macos nightly
I added the version to the filename for macos x86_64 so I think it's good to add it to the apple silicon release as well for consistency and clarity.

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-14 13:59:21 +02:00
Luke Boswell
0b1365e0a3
adding expect and documentation for Str builtin 2022-10-14 19:58:07 +11:00
Anton-4
89a4522faa
Merge pull request #4178 from roc-lang/macos-11-nightly
add macos 11 nightly for x86_64
2022-10-14 09:50:31 +02:00
Ayaz
e471f4b388
Merge pull request #4290 from roc-lang/impl-eq
Add the `Eq` ability
2022-10-13 16:13:51 -05:00
Richard Feldman
2bd49f7d96
Merge pull request #4320 from lukewilliamboswell/modules-for-tutorial
describe importing application modules in Tutorial docs
2022-10-13 13:41:10 -07:00
Luke Boswell
133312bf7c
describe importing application modules in Tutorial docs 2022-10-14 07:19:22 +11:00
Folkert de Vries
da0a8f0b2b
Merge pull request #4312 from roc-lang/i4309
Correctly destructure patterns that are assigned to a thunk'd value
2022-10-13 00:22:04 +02:00
Ayaz Hafiz
ee1d93ba06
Rollup review comment suggestions from #4302 2022-10-12 16:42:11 -05:00
Ayaz Hafiz
b8cbaf6946
Resume caching Bool, Dict, and Set 2022-10-12 16:40:20 -05:00
Ayaz Hafiz
6e5de0d0a9
Disable test on gen-dev, for now 2022-10-12 16:38:37 -05:00
Ayaz Hafiz
7fa2778ecf
Fix even more load tests 2022-10-12 16:38:37 -05:00
Ayaz Hafiz
ccfb85325d
Update load tests 2022-10-12 16:38:37 -05:00
Ayaz Hafiz
861800ceea
Fix gen tests in the presence of Eq 2022-10-12 16:38:37 -05:00
Ayaz Hafiz
595433b8c8
Make sure to map structuralNotEq to NotEq 2022-10-12 16:38:37 -05:00
Ayaz Hafiz
9f099830db
Disable peg grammar test using abilities 2022-10-12 16:38:37 -05:00
Ayaz Hafiz
c5a025f853
s/Eq/Bool 2022-10-12 16:38:37 -05:00
Ayaz Hafiz
6149c289fc
Update Eq symbols 2022-10-12 16:38:36 -05:00
Ayaz Hafiz
81fa0407b6
Satiate must_use reason 2022-10-12 16:38:36 -05:00
Ayaz Hafiz
8d91370836
TODO is resolved 2022-10-12 16:38:36 -05:00
Ayaz Hafiz
ce2760d96d
Some more reporting tests for Eq 2022-10-12 16:38:36 -05:00
Ayaz Hafiz
3192bed417
Make sure structuralEq, structuralNotEq is not importable 2022-10-12 16:38:36 -05:00
Ayaz Hafiz
fe9b848686
Mark structuralEq as not exposed on the surface 2022-10-12 16:38:36 -05:00
Ayaz Hafiz
b04d7a9471
Bind types passed to isNotEq to Eq 2022-10-12 16:38:36 -05:00
Ayaz Hafiz
0f96a1231e
Fromat Bool.roc 2022-10-12 16:38:36 -05:00
Ayaz Hafiz
6f2115a739
Update ability usage in AStar.roc 2022-10-12 16:38:35 -05:00
Ayaz Hafiz
43086a7e25
Enable remaining gen tests 2022-10-12 16:38:35 -05:00
Ayaz Hafiz
99f097ddb5
Improve error messages for abilities 2022-10-12 16:38:35 -05:00
Ayaz Hafiz
4fa5cc0ac3
Disable Bool, Dict, Set caching until abilities caching 2022-10-12 16:38:34 -05:00
Ayaz Hafiz
a256947a9f
Move Eq to Bool 2022-10-12 16:37:51 -05:00
Ayaz Hafiz
bd5f5ed735
Old implementations can be overwritten before solving 2022-10-12 16:37:51 -05:00
Ayaz Hafiz
7298705db7
Fix parse error 2022-10-12 16:37:50 -05:00
Ayaz Hafiz
729f0a8e27
Remove return on unreachable result 2022-10-12 16:37:50 -05:00
Ayaz Hafiz
12778762b2
Make sure Box is handled as an Apply type 2022-10-12 16:37:50 -05:00