Folkert
24c6b92846
update mono tests
2022-07-08 16:16:42 +02:00
Folkert de Vries
43f9b0d0fa
Merge pull request #3389 from rtfeldman/3378
...
Call recursive function with captures, and consolidate proc calling
2022-07-08 16:14:33 +02:00
Folkert
56c9787e8f
List.appendUnsafe and List.reserve
2022-07-07 22:40:28 +02:00
Folkert de Vries
0412578e49
Merge pull request #3433 from rtfeldman/url-appending-fixes
...
url appending fixes
2022-07-07 11:51:40 +02:00
Ayaz
22f02984d3
Merge branch 'trunk' into 3378
2022-07-06 20:37:32 -05:00
ayazhafiz
ab75de39d6
Fix gen for runtime error functions
2022-07-06 12:49:02 -04:00
ayazhafiz
937b73b797
Compile lambdas that have an empty lambda set
...
Closes #3224
This should also fix a number of other issues often observed when a
lambda is never actually called, but we fail to codegen because it has
an empty lambda set.
2022-07-06 12:49:01 -04:00
Folkert
c54d824950
for now, substring takes a borrowed argument
2022-07-06 17:59:49 +02:00
Richard Feldman
7365da6f69
Merge pull request #3370 from rtfeldman/list-unreachable
...
List unreachable
2022-07-06 10:45:50 -04:00
Ayaz Hafiz
f940cc18c1
Consolidate calling specialized proc
2022-07-06 09:12:02 -04:00
Ayaz Hafiz
91b89675ef
Remove commented code
2022-07-06 09:11:01 -04:00
Ayaz Hafiz
b868e0e469
Handle recursive calls to capturing function
2022-07-06 09:10:31 -04:00
Ayaz Hafiz
26148b8b12
Recover default layouts for floats
2022-07-05 22:16:53 -04:00
Ayaz Hafiz
4ef8ceef9e
Clippy
2022-07-05 22:16:53 -04:00
Ayaz Hafiz
34d2d81ca6
Remove stray dbg
2022-07-05 22:16:53 -04:00
Ayaz Hafiz
2492fba9f9
Gen tests for promoted num layouts
2022-07-05 22:16:52 -04:00
Ayaz Hafiz
ba450367ca
Choose i128/u128 num layouts when necessary
2022-07-05 22:16:52 -04:00
Ayaz Hafiz
c154a337a9
Get deep range numbers working
2022-07-05 22:16:52 -04:00
Folkert
3a30e77726
Merge remote-tracking branch 'origin/trunk' into list-unreachable
2022-07-06 01:38:50 +02:00
Folkert
2455819362
startsWith/endsWith don't need ownership
2022-07-06 01:08:45 +02:00
Folkert de Vries
93dbda9ac5
Merge pull request #3399 from rtfeldman/pure-roc-map-with-index
...
Pure Roc `List.mapWithIndex`
2022-07-06 00:25:46 +02:00
Folkert
6095dcff66
Merge remote-tracking branch 'origin/trunk' into list-unreachable
2022-07-04 19:21:31 +02: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
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
Folkert
ab721dd3c1
Str.reserve
2022-07-04 14:57: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
6b1e9c75c8
mono: generate refcounting helper functions for Boxed layout
2022-07-03 23:31:49 +01: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
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
3385c708c6
Deduplicate capture niches
2022-07-03 10:37:40 -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
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
019ebd93f7
Put the capture niche in the lambda name instead of generating new names
2022-07-03 10:37:29 -04:00
Ayaz Hafiz
28c1cf46a3
Multimorphic lambdas capture another lambda
2022-07-03 10:37:28 -04:00
Ayaz Hafiz
1903ce4db9
Remove LambdaName::from_non_multimorphic
2022-07-03 10:37:27 -04:00
Ayaz Hafiz
9714376b64
Use one method for mutex
2022-07-03 10:37:27 -04:00
Ayaz Hafiz
ada4b0ea43
Add test gen for multimorphic capture
2022-07-03 10:37:26 -04:00
Ayaz Hafiz
8be230695b
Get multimorphic lambda captures working
2022-07-03 10:37:26 -04:00
Ayaz Hafiz
51978e08ed
First pass at supporting multimorphic lambdas in lambda sets
2022-07-03 10:37:26 -04:00