Richard Feldman
|
c87f2fdee1
|
Add List.splitFirst and List.splitLast
|
2022-07-25 19:15:33 +02:00 |
|
Richard Feldman
|
87f03d1f9f
|
Add List.findLast and findLastIndex
|
2022-07-25 19:15:32 +02:00 |
|
Richard Feldman
|
46abf539bf
|
Drop unnecessary parens
|
2022-07-25 19:15:32 +02:00 |
|
Richard Feldman
|
f3b8025d8d
|
Rename List.find and findIndex to include 'First'
|
2022-07-25 19:15:32 +02:00 |
|
Richard Feldman
|
661376958c
|
Add List.startsWith and List.endsWith
|
2022-07-25 19:15:31 +02:00 |
|
Folkert
|
012c6a75d1
|
simplify RocStr to array in zig
|
2022-07-24 11:50:28 +02:00 |
|
Folkert
|
ab3a431db7
|
add string cloning helper
|
2022-07-23 00:08:01 +02:00 |
|
Ayaz Hafiz
|
3a57af8731
|
Format Json.roc
|
2022-07-19 14:30:20 -04:00 |
|
Ayaz Hafiz
|
f3105eca6e
|
Format Json.roc
|
2022-07-18 22:14:39 -04:00 |
|
Ayaz Hafiz
|
d2da395619
|
Syntactic ability links in solve
|
2022-07-18 18:33:28 -04:00 |
|
Ayaz
|
d5f36a6780
|
Merge pull request #3568 from rtfeldman/list-maptry
|
2022-07-18 15:22:38 -05:00 |
|
Richard Feldman
|
7e446d1b0d
|
Eliminate @memcpy from Str.trim functions
|
2022-07-18 10:28:53 -04:00 |
|
Richard Feldman
|
fd65f12cad
|
Merge pull request #3567 from rtfeldman/result-try
Rename `Result.after` to `Result.try`, `Result.afterErr` to `Result.onErr`
|
2022-07-17 22:47:02 -04:00 |
|
Ayaz
|
d354dd177a
|
Merge pull request #3564 from rtfeldman/fix-json
JSON doesn't allow trailing commas
|
2022-07-17 21:43:01 -05:00 |
|
Richard Feldman
|
b92a2b8dad
|
Clarify docs a bit
|
2022-07-17 21:54:36 -04:00 |
|
Richard Feldman
|
08ead32be9
|
Add List.mapTry
|
2022-07-17 21:53:01 -04:00 |
|
Richard Feldman
|
145bd8b4a2
|
Rename Result.afterErr to Result.onErr
|
2022-07-17 21:37:32 -04:00 |
|
Richard Feldman
|
0acab0eef3
|
Rename Result.after to Result.try
|
2022-07-17 17:25:50 -04:00 |
|
Richard Feldman
|
518b21c3f8
|
Rename Json.format to Json.toUtf8
|
2022-07-17 15:21:27 -04:00 |
|
Richard Feldman
|
4af506c530
|
JSON doesn't allow trailing commas
|
2022-07-17 15:18:52 -04:00 |
|
Richard Feldman
|
31f7d72ce0
|
Merge pull request #3529 from rtfeldman/derive-lists
Derive encoding for lists
|
2022-07-17 14:28:44 -04:00 |
|
Richard Feldman
|
f575807834
|
Merge remote-tracking branch 'origin/trunk' into outdent-infix
|
2022-07-16 16:08:36 -04:00 |
|
Ayaz Hafiz
|
863cdfe2a1
|
Format JSON
|
2022-07-16 12:31:08 -04:00 |
|
Ayaz Hafiz
|
e06e83be05
|
Fix JSON list encoding bug
|
2022-07-16 12:31:07 -04:00 |
|
Brian Carroll
|
dae8eccb70
|
Fix a comment in Str.roc
|
2022-07-16 08:26:19 +01:00 |
|
Folkert
|
b9ebd4fa27
|
Merge remote-tracking branch 'origin/trunk' into pretty-expect-output
|
2022-07-15 09:12:04 +02:00 |
|
Folkert de Vries
|
1b1b63aad0
|
Merge branch 'trunk' into assoc-list-dict
|
2022-07-14 16:47:50 +02:00 |
|
Richard Feldman
|
7ed35eca50
|
roc format builtins
|
2022-07-13 23:16:09 -04:00 |
|
Richard Feldman
|
da7c7ac5f2
|
Merge pull request #3525 from rtfeldman/3522
Num.toStr for f32, f64, Dec
|
2022-07-13 21:30:05 -04:00 |
|
Folkert
|
06938429a1
|
Merge branch 'assoc-list-dict' into pretty-expect-output
|
2022-07-14 00:39:01 +02:00 |
|
Ayaz Hafiz
|
b50974e4ee
|
Update zig tests
|
2022-07-13 17:20:47 -04:00 |
|
Folkert
|
e6019a1eca
|
formatting
|
2022-07-13 23:11:58 +02:00 |
|
Richard Feldman
|
77afe0c1f1
|
Merge pull request #3503 from rtfeldman/string-memory-problems
String memory problems
|
2022-07-13 15:17:28 -04:00 |
|
Folkert
|
5763248b44
|
Merge remote-tracking branch 'origin/trunk' into assoc-list-dict
|
2022-07-13 20:44:28 +02:00 |
|
Ayaz Hafiz
|
980c3f1421
|
Use decimal formatting for float Num.toStr
|
2022-07-13 12:35:49 -04:00 |
|
Richard Feldman
|
25facfa9c6
|
Expose capacity builtins
|
2022-07-13 12:19:37 -04:00 |
|
Ayaz Hafiz
|
66b8d145a9
|
Support Num.toStr for dec
|
2022-07-13 12:13:21 -04:00 |
|
Ayaz Hafiz
|
b7c312d449
|
Support Num.toStr for f32, f64
|
2022-07-13 12:13:01 -04:00 |
|
Folkert
|
d33beedcd0
|
add the zig bits for expects
|
2022-07-13 14:40:07 +02:00 |
|
Folkert
|
6c26d8812f
|
remove dict/hash stuff from the zig builtins
|
2022-07-13 11:59:46 +02:00 |
|
Folkert
|
cf69d41a7b
|
implement set operations on dict
|
2022-07-13 11:33:39 +02:00 |
|
Folkert
|
79f8ae4e69
|
make Set/Dict mostly work
|
2022-07-13 11:15:57 +02:00 |
|
Folkert
|
9a51737a47
|
fix use after free
|
2022-07-13 10:34:30 +02:00 |
|
Richard Feldman
|
5f430034f3
|
roc format List.roc
|
2022-07-12 22:04:55 -04:00 |
|
Folkert
|
4d33e32078
|
comment
|
2022-07-13 01:09:03 +02:00 |
|
Folkert
|
66c0b7d9fd
|
formatting
|
2022-07-13 01:00:27 +02:00 |
|
Folkert
|
f9d8e01561
|
implement Dict/Set completely in roc
|
2022-07-13 00:35:20 +02:00 |
|
Folkert
|
bc24841921
|
Str.fromUtf8Range: take list argument as owned; make sure it's decremented in the small string case
|
2022-07-12 22:57:48 +02:00 |
|
Folkert
|
32207beedf
|
List.sublist: make sure input list is decremented if slice length is 0
|
2022-07-12 22:51:44 +02:00 |
|
Richard Feldman
|
f5f137982c
|
Merge pull request #3432 from rtfeldman/fmt-multiline-when
Format multiline `when` branches
|
2022-07-12 12:54:11 -04:00 |
|