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 |
|
Luke Boswell
|
0b1365e0a3
|
adding expect and documentation for Str builtin
|
2022-10-14 19:58:07 +11:00 |
|
Ayaz Hafiz
|
c5a025f853
|
s/Eq/Bool
|
2022-10-12 16:38:37 -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
|
a256947a9f
|
Move Eq to Bool
|
2022-10-12 16:37:51 -05:00 |
|
Ayaz Hafiz
|
7298705db7
|
Fix parse error
|
2022-10-12 16:37:50 -05:00 |
|
Ayaz Hafiz
|
c618ced743
|
Replace Bool.isEq with Eq.isEq
|
2022-10-12 16:37:49 -05:00 |
|
Ayaz Hafiz
|
3674f6861e
|
Compile derived structural equality
|
2022-10-12 16:37:49 -05:00 |
|
Ayaz Hafiz
|
16d12a51c2
|
Add Eq to the standard library
|
2022-10-12 16:37:48 -05:00 |
|
Folkert
|
d9f9183009
|
fix zig tests by providing new libc functions
|
2022-10-12 21:15:48 +02:00 |
|
Prajwal S N
|
a3e6345257
|
builtin(list): add List.countIf
Closes #4174
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2022-10-13 00:45:13 +05:30 |
|
Folkert
|
2b60cb1dcd
|
include process id in expect buffer name
|
2022-10-12 21:06:44 +02:00 |
|
Folkert
|
19ea3489cb
|
provide more libc functions for the expect implementation
|
2022-10-12 20:59:18 +02:00 |
|
Brendan Hansknecht
|
e551e59c1c
|
refactor string reallocation
|
2022-10-11 07:56:34 -07:00 |
|
Brendan Hansknecht
|
96b5d365b2
|
Add capacity growth to RocStr
Also, cleans up the alloc and realloc api for both list and str.
Updates Str.reserve to match List.reserve
|
2022-10-10 22:24:55 -07:00 |
|
Brendan Hansknecht
|
fdafac4323
|
Remove RocResult from utils.zig
It is implemented wrong and not used anywhere
|
2022-10-10 08:25:59 -07:00 |
|
Richard Feldman
|
860d8b41f1
|
Merge pull request #4273 from cjduncana/dict-update
Add the `update` function to the `Dict` module
|
2022-10-10 02:37:42 -07:00 |
|
Christopher Duncan
|
96e12aa790
|
Add the update function to the Dict module
This resolves #4239
|
2022-10-09 20:21:21 -04:00 |
|
Folkert
|
e62ab00c65
|
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects
|
2022-10-09 18:46:57 +02:00 |
|
Prajwal S N
|
aef15ac1e8
|
Merge branch 'main' into str-withprefix
|
2022-10-09 15:53:16 +05:30 |
|
Richard Feldman
|
5dafad506e
|
Merge pull request #4240 from roc-lang/list-growth
List growth
|
2022-10-08 23:58:49 -07:00 |
|
Richard Feldman
|
8b3d73dfbc
|
Merge pull request #4249 from snprajwal/list-walkBckwardsUntil
builtin(list): implement List.walkBackwardsUntil
|
2022-10-08 23:47:29 -07:00 |
|
Ayaz
|
8184262c08
|
Merge pull request #4247 from roc-lang/list-doc-fixes
Corrections for List docs
|
2022-10-08 14:31:56 -05:00 |
|
Ayaz
|
9d05bcd9d8
|
Merge pull request #4237 from snprajwal/str-withcapacity
builtin(str): implement Str.withCapacity
|
2022-10-08 14:31:30 -05:00 |
|
Anton-4
|
54fb1bc32f
|
Merge remote-tracking branch 'upstream/main' into str-withprefix
|
2022-10-08 19:58:51 +02:00 |
|
Brendan Hansknecht
|
aca6f2a8f1
|
add todo around improving performance
|
2022-10-08 07:53:50 -07:00 |
|
Brendan Hansknecht
|
8269986113
|
remove comment on zero width types.
They should not affect the normal case. It is better they affect the capacity calculation
|
2022-10-08 07:53:33 -07:00 |
|
dependabot[bot]
|
654a51335a
|
Bump dunce from 1.0.2 to 1.0.3
Bumps [dunce](https://gitlab.com/kornelski/dunce) from 1.0.2 to 1.0.3.
- [Release notes](https://gitlab.com/kornelski/dunce/tags)
- [Commits](https://gitlab.com/kornelski/dunce/commits/v1.0.3)
---
updated-dependencies:
- dependency-name: dunce
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-10-08 14:50:13 +00:00 |
|
Prajwal S N
|
cbceeff902
|
builtin(list): implement List.walkBackwardsUntil
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2022-10-08 14:23:06 +05:30 |
|
Brian Carroll
|
4bebe7e236
|
Corrections for List docs
|
2022-10-08 08:40:29 +01:00 |
|
Prajwal S N
|
d6526fa425
|
builtin(str): add withPrefix
Closes #4142
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2022-10-08 12:52:10 +05:30 |
|
Brendan Hansknecht
|
eca4682787
|
deal with zero element_width
That being said, this only affects wasm.
So wasm probably should be handling zero element lists in a smarter way.
|
2022-10-07 17:58:48 -07:00 |
|
Brendan Hansknecht
|
557ee69557
|
fix minor typo
|
2022-10-07 17:11:46 -07:00 |
|
Brendan Hansknecht
|
1665f7160d
|
Fix bug in reallocate
|
2022-10-07 17:11:33 -07:00 |
|
Ayaz
|
fae90c9fd2
|
Merge pull request #4187 from roc-lang/ranged-char-literal
Single-quote literals behave like ranged numbers
|
2022-10-07 15:05:09 -05:00 |
|
Ayaz
|
7752ecc895
|
Merge pull request #4224 from roc-lang/is-zero-lowlevel
Implement Num.isZero as a low-level
|
2022-10-07 15:03:55 -05:00 |
|
Prajwal S N
|
9013e4ce11
|
builtin(str): implement withCapacity
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2022-10-08 00:24:46 +05:30 |
|
Brendan Hansknecht
|
d06966392f
|
Add smarter list capacity growth calculations
|
2022-10-07 08:59:32 -07:00 |
|