Commit graph

6636 commits

Author SHA1 Message Date
Brian Carroll
40231535fa
builtins: Delete Zig implementation of List.mapWithIndex 2022-07-04 15:14:32 +01:00
Brian Carroll
a5a85d7d73
mono: delete HigherOrder variant ListMapWithIndex 2022-07-04 15:10:31 +01:00
Brian Carroll
eb2ac4c82b
module: delete LowLevel enum variant ListMapWithIndex 2022-07-04 15:07:12 +01:00
Brian Carroll
a129e0458c
can: delete AST implementation of List.mapWithIndex 2022-07-04 15:06:45 +01:00
Brian Carroll
557ae4dd9c
builtins: Implement List.mapWithIndex in pure Roc 2022-07-04 14:57:18 +01:00
Folkert
ab721dd3c1
Str.reserve 2022-07-04 14:57:20 +02:00
Folkert de Vries
4523e90bc7
Merge pull request #3398 from rtfeldman/wasm-str-full-coverage
Wasm Str: 100% tests passing
2022-07-04 14:51:52 +02:00
Folkert
f7b8094dfb
expose countUtf8Bytes 2022-07-04 13:59:19 +02:00
Folkert
a9ba08d8cb
appendScalar zig implementation 2022-07-04 13:58:39 +02:00
Folkert
4f965ec263
fix RocStr.capacity() in zig 2022-07-04 13:39:51 +02:00
Folkert de Vries
e0b5f16516
Merge pull request #3390 from rtfeldman/clean
Leftover file cleanup
2022-07-04 13:19:20 +02:00
Folkert de Vries
1441e8c347
Merge pull request #3392 from rtfeldman/wasm-boxed-eq-and-refcount
Dev backends: Eq and refcount for Boxed layout
2022-07-04 13:17:37 +02:00
Brian Carroll
f4ed7e086e
wasm: turn off debug features 2022-07-04 12:13:10 +01:00
Brian Carroll
fdc0851883
wasm: fix Str.fromUtf8Range 2022-07-04 11:52:18 +01:00
Brian Carroll
e1d8d09472
builtins: move the output argument of Zig fromUtf8RangeC to first position 2022-07-04 11:24:39 +01:00
Brian Carroll
60d29c2e25
builtins: Move return pointer to first position for fromUtf8C 2022-07-04 11:24:39 +01:00
Brian Carroll
a342f02824
wasm: fix Str.fromUtf8 2022-07-04 11:24:38 +01:00
Brian Carroll
02ec30425c
wasm: Implement Str.split 2022-07-04 11:24:38 +01:00
Richard Feldman
b9532cadaa
clippy 2022-07-03 22:47:41 -04:00
Richard Feldman
cab096b4e1
Don't print extra newline in multiline | patterns 2022-07-03 22:43:21 -04:00
Richard Feldman
d1ba89f97f
Fix an extraneous newline in formatting 2022-07-03 22:38:26 -04:00
Richard Feldman
244a501433
Indent for multiline | patterns 2022-07-03 22:17:13 -04:00
Richard Feldman
872efa9724
Put a space before comments in patterns 2022-07-03 21:59:00 -04:00
Richard Feldman
3e2f581db4
Reproduce formatter bug 2022-07-03 21:58:59 -04:00
Richard Feldman
e4d09e9e59
Drop obsolete comment 2022-07-03 21:57:56 -04:00
Ayaz Hafiz
cda740a472
Correct LLVM box eq build 2022-07-03 20:08:23 -04:00
Brian Carroll
6b1e9c75c8
mono: generate refcounting helper functions for Boxed layout 2022-07-03 23:31:49 +01:00
Ayaz Hafiz
35243e0efe
Leftover file cleanup
- Remove a toplevel directory accidentally re-added in #3352
- Remove mono tests renamed but not properly removed in #3352
2022-07-03 16:53:06 -04:00
Ayaz Hafiz
ba1a3fa62e
Remove unnecessary import 2022-07-03 16:49:09 -04:00
Ayaz Hafiz
2726a3506f
Remove tag_name from Expr::Tag 2022-07-03 16:48:51 -04:00
Ayaz Hafiz
2d169bf518
Remove tag_name from ResetReuse 2022-07-03 16:47:01 -04:00
Folkert
5904934887
rename countBytes -> countUtf8Bytes 2022-07-03 21:49:01 +02:00
Folkert
5f2c7c5b5e
update mono tests 2022-07-03 20:26:04 +02: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
Brian Carroll
7c7e450756
mono: generate Eq functions for Boxed layout 2022-07-03 18:42:35 +01:00
Folkert
be3800d7fa
add substringUnsafe roc function 2022-07-03 17:15:25 +02:00
ayazhafiz
671a19b29d
Fix mono 2022-07-03 10:39:55 -04:00
ayazhafiz
71e3e0baff
Add dedup niche test golden 2022-07-03 10:37:40 -04:00
ayazhafiz
3385c708c6
Deduplicate capture niches 2022-07-03 10:37:40 -04:00
ayazhafiz
91050d9989
Add solve test for same layout different niche 2022-07-03 10:37:40 -04:00
ayazhafiz
ae410fbf5d
Fix mono tests 2022-07-03 10:37:39 -04:00
Ayaz
6c9b10af4e
Update wasm layout sizes 2022-07-03 10:37:36 -04:00
Ayaz Hafiz
cb2f85ed95
Fix some typos 2022-07-03 10:37:36 -04:00
Ayaz Hafiz
74a55664dd
Remove some unneeded changes 2022-07-03 10:37:36 -04:00
Ayaz Hafiz
8855f269ba
Make captures niche more private 2022-07-03 10:37:36 -04:00
Ayaz Hafiz
71d612078a
no_niche to represent lack of captures niche 2022-07-03 10:37:36 -04:00
Ayaz Hafiz
a5ea4f8c11
Remove references to multimorphic names 2022-07-03 10:37:35 -04:00
Ayaz Hafiz
641bd95d04
Make sure accessor closures get the name of their assigned def, if any 2022-07-03 10:37:35 -04:00
Ayaz Hafiz
276db791bd
Update capture niche tests 2022-07-03 10:37:35 -04:00