Richard Feldman
|
b5caddcb77
|
Merge pull request #4973 from roc-lang/fix-string-split
fix string split on overlapping delimiters
|
2023-01-27 19:34:07 -05:00 |
|
Folkert
|
d52c037cba
|
fix string split on overlapping delimiters
|
2023-01-27 17:35:10 +01:00 |
|
Folkert
|
a77f137a9d
|
fix bug in Str.trim
|
2023-01-26 22:52:14 +01:00 |
|
Folkert
|
acf22ebf7e
|
fix 32-bit wasm to num conversion
|
2022-12-20 16:34:24 +01:00 |
|
Ayaz Hafiz
|
a68c63f1d1
|
Correctly destructure patterns that are assigned to a thunk'd value
Closes #4309
|
2022-10-12 09:23:48 -05:00 |
|
Brendan Hansknecht
|
ac33fd3237
|
fix wasm test
|
2022-10-10 23:18:06 -07:00 |
|
Prajwal S N
|
aef15ac1e8
|
Merge branch 'main' into str-withprefix
|
2022-10-09 15:53:16 +05:30 |
|
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 |
|
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 |
|
kilianv
|
273907319d
|
Add tests for Str.splitLast
There was only one test, which didn't cover the bug I fixed in Str.splitLast. I
added the tests to make sure the bug will be caught in the future.
|
2022-09-01 17:03:26 +02:00 |
|
kilianv
|
80c8c80082
|
Add tests to splitFirst function
Bugfix is coming up. The extra tests should capture the fix. Right now
not all tests pass.
|
2022-09-01 16:43:13 +02:00 |
|
Folkert
|
d0f1500dad
|
implement when on multiple string patterns
|
2022-07-29 12:13:21 +02:00 |
|
Folkert
|
91a11a70af
|
fix str_walk_utf8_with_index
|
2022-07-24 14:04:41 +02:00 |
|
Folkert
|
60b7f2cf94
|
additional 32-bit string layout tests
|
2022-07-24 13:38:11 +02:00 |
|
Ayaz Hafiz
|
032a8a892b
|
Use correct callconv for Str.toNum
|
2022-07-10 13:42:38 -04:00 |
|
Folkert
|
6d7c329698
|
Str.walkScalars
|
2022-07-04 18:01:19 +02:00 |
|
Folkert
|
1de9270ecf
|
Merge remote-tracking branch 'origin/trunk' into str-walk
|
2022-07-04 16:30:07 +02:00 |
|
Folkert
|
9c41a4d442
|
str.appendScalar
|
2022-07-04 16:27:04 +02:00 |
|
Brian Carroll
|
02ec30425c
|
wasm: Implement Str.split
|
2022-07-04 11:24:38 +01:00 |
|
Folkert
|
65f80b61c6
|
add Str.walkUtf8WithIndex
|
2022-07-03 20:24:08 +02:00 |
|
Folkert
|
eeb271d07f
|
Str.splitFirst and Str.splitLast
|
2022-07-03 19:47:06 +02:00 |
|
Richard Feldman
|
af05723d35
|
Rename startsWithCodePt to startsWithScalar
|
2022-07-02 15:51:33 -04:00 |
|
Richard Feldman
|
284ff5de35
|
Enable some missing tests
|
2022-07-02 15:22:20 -04:00 |
|
Richard Feldman
|
348ca970d6
|
Add gen tests for Str.toScalars
|
2022-07-02 13:13:27 -04:00 |
|
Anton-4
|
eee85fa45d
|
moved all crates into seperate folder + related path fixes
|
2022-07-01 17:37:43 +02:00 |
|