Prajwal S N
|
aef15ac1e8
|
Merge branch 'main' into str-withprefix
|
2022-10-09 15:53:16 +05:30 |
|
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 |
|
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 |
|
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 |
|
Ayaz
|
addfa29a56
|
Merge pull request #4227 from snprajwal/list-expose-walktry
builtin(list): expose walkTry
|
2022-10-07 09:45:21 -05:00 |
|
Ayaz
|
2cf1309326
|
Update crates/compiler/builtins/roc/List.roc
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
|
2022-10-06 16:19:15 -05:00 |
|
Prajwal S N
|
0f96dddc25
|
builtin(list): expose walkTry
Fixes: #4168
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2022-10-07 00:03:18 +05:30 |
|
Ayaz Hafiz
|
d9207137e8
|
Implement Num.isZero as a low-level
This will be needed ahead of the `Eq` ability.
Closes #4223
|
2022-10-05 19:47:29 -05:00 |
|
Ayaz Hafiz
|
5416eb7cbf
|
List dependencies in the stdlib explicitly rather than hard-coding
|
2022-10-05 18:53:49 -05:00 |
|
Ayaz Hafiz
|
262d13ffe7
|
Simplify char pattern matching in json parser
|
2022-10-05 17:28:02 -05:00 |
|
Ayaz Hafiz
|
9054266a76
|
Simplify Json.roc
|
2022-10-05 17:28:01 -05:00 |
|
Ayaz
|
596f14d173
|
Merge pull request #4203 from roc-lang/shift-signature
Have `Num.shift*By` functions shift by a `U8`
|
2022-10-05 13:26:36 -05:00 |
|
Ayaz Hafiz
|
5b833e57b5
|
Support derivation of Hash for Str and List
|
2022-10-04 14:09:40 -05:00 |
|
Ayaz
|
a08b45263b
|
Merge branch 'main' into shift-signature
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
|
2022-10-04 12:58:09 -05:00 |
|
Ayaz Hafiz
|
dea7661068
|
Have Num.shift*By functions shift by a U8
302305020
|
2022-10-04 12:28:33 -05:00 |
|
Ayaz Hafiz
|
f68cb3b0ed
|
Flip order of hash signature
|
2022-10-04 12:14:07 -05:00 |
|
Ayaz Hafiz
|
76510ec323
|
Add Hash.roc builtin module
|
2022-10-04 10:14:29 -05:00 |
|
Jan Van Bruggen
|
cd5747a15c
|
Run formatter even though it makes matchesAtHelp uglier
Signed-off-by: Jan Van Bruggen <JanCVanB@pm.me>
|
2022-09-29 23:28:34 -06:00 |
|
Jan Van Bruggen
|
5d814b3ea5
|
Refactor matchesAtHelp for clarity
Signed-off-by: Jan Van Bruggen <JanCVanB@pm.me>
|
2022-09-29 23:28:27 -06:00 |
|
Ayaz Hafiz
|
c9c2f61e3e
|
Add some docs to matchesAtHelp
|
2022-09-29 22:32:16 -05:00 |
|
Ayaz Hafiz
|
1d7dc65800
|
Str.splitFirst should not find match if needle is longer than haystack
Closes #4064
|
2022-09-28 13:14:36 -05:00 |
|
Ayaz
|
211c297230
|
Merge pull request #4041 from KilianVounckx/opaque-bool
Opaque bool
|
2022-09-21 11:15:41 -05:00 |
|
kilianv
|
49319a2ffe
|
Update Bool documentation to opaque types
|
2022-09-20 14:42:04 -05:00 |
|
kilianv
|
610c529ba8
|
Update roc files to use new opaque bools
|
2022-09-20 14:42:04 -05:00 |
|
kilianv
|
6dbebd7834
|
Update Bool to be opaque
|
2022-09-20 14:42:01 -05:00 |
|
Ayaz Hafiz
|
77fbc0189e
|
Eliminate unnecessary branch in List.roc
|
2022-09-20 08:43:08 -05:00 |
|
Richard Feldman
|
620a3feb75
|
Add some tests for Str.replace___ functions
|
2022-09-12 21:05:50 -06:00 |
|
Richard Feldman
|
4ed63c548b
|
Fix type mismatches in Str.replace___ functions
...and fix/finish the draft `Str.replaceEach` implementation!
Don't be so modest, Richard :)
|
2022-09-12 21:05:38 -06:00 |
|
Jan Van Bruggen
|
9ef57f86ac
|
Add first draft of Str.replaceEach builtin
|
2022-09-12 21:03:11 -06:00 |
|
Jan Van Bruggen
|
2b65659a11
|
Add Str.replaceLast builtin
|
2022-09-12 20:37:23 -06:00 |
|
Jan Van Bruggen
|
c5b6aef21a
|
Add Str.replaceFirst builtin
|
2022-09-12 20:37:23 -06:00 |
|
kilianv
|
97f49bf940
|
Add expect tests for Str.splitLast
|
2022-09-01 16:59:11 +02:00 |
|
kilianv
|
d89253779a
|
Add expect tests for Str.splitFirst
|
2022-09-01 16:57:19 +02:00 |
|
kilianv
|
23e430d91d
|
Fix splitFirst bug
The reason was an of-by-one error.
|
2022-09-01 16:48:04 +02:00 |
|
Richard Feldman
|
04fa17144d
|
Improve a bunch of Str docs
|
2022-08-28 09:01:17 -04:00 |
|
Richard Feldman
|
f2f4fb59b5
|
Merge pull request #3815 from roc-lang/glue-dict
Generate glue for `Dict` and `Set`
|
2022-08-21 18:06:05 -04:00 |
|
Richard Feldman
|
ccd0d32332
|
Merge remote-tracking branch 'origin/main' into glue-dict
|
2022-08-21 09:51:22 -04:00 |
|
kilianv
|
e3ae182235
|
Fix spelling mistakes
|
2022-08-20 22:27:54 +02:00 |
|
kilianv
|
f64eac6040
|
Remove roc tests
On my current build the expect tests don't work. So I will add them later.
The tests in rust work fine
|
2022-08-20 22:03:11 +02:00 |
|
kilianv
|
8ab725a736
|
Add roc tests with expect keyword
|
2022-08-20 21:51:31 +02:00 |
|
kilianv
|
3697092eca
|
Add documentation to bitwise shift operators
|
2022-08-20 21:40:17 +02:00 |
|
Richard Feldman
|
0f179272d9
|
Add some Set builtin tests
|
2022-08-15 13:05:32 -04:00 |
|
Ayaz Hafiz
|
583829eaf5
|
Pass stepper function explicitly, for now
|
2022-08-15 11:11:30 -05:00 |
|