Anton-4
c93e27ca9a
added List.keep_if_try!
( #7804 )
...
* added keep_if_try!
* cleanup types
* cleanup var name
2025-05-21 14:12:24 -05:00
Anton-4
882577bebc
added map_try! + walk_try! test ( #7770 )
...
* map_try! + walk_try! test
* update mono tests
2025-04-29 22:05:12 +02:00
Lars Frogner
560171c238
Add Num.[f32,f64,dec]_[to,from]_bits
builtins and deprecate Num.[f32,f64]_[to,from]_parts
( #7741 )
...
* Add `Num.[f32,f64,dec]_[to,from]_bits` builtins
* Update mono tests
* Deprecate `Num.[f32,f64]_[to,from]_parts`
2025-04-18 10:10:45 +02:00
Sam Mohr
fce14d31b0
Move desugaring to new roc_can_solo crate
2025-01-19 07:16:43 -08:00
Anton-4
b2e3adf508
proc sort fix #7531 #7514 #7496
2025-01-18 23:15:18 +01:00
Ian McLerran
541fb6056c
update mono tests
2025-01-09 13:53:01 -06:00
Sam Mohr
2010ada504
Fix mono tests
2025-01-08 17:15:23 -08:00
Ian McLerran
c360fca87e
update mono tests
2025-01-03 13:58:24 -06:00
Jared Ramirez
7daa008a9a
Add Num.fromBool
2024-12-24 10:10:20 -05:00
Isaac Van Doren
d99c347998
rename Str.split
2024-11-15 21:12:23 -06:00
Isaac Van Doren
9a14991c8f
update mono tests
2024-11-12 21:58:00 -06:00
Luke Boswell
9c1fe2c839
update mono
2024-11-13 10:46:34 +11:00
Agus Zubiaga
ca7697db91
update mono tests: ids increase because of new fx vars
2024-11-07 18:54:22 -03:00
Anton-4
7938e4bdc8
basic-cli 0.15, test fixes
2024-08-28 18:39:15 +02:00
Sam Mohr
12df3a04de
Merge attempt
2024-08-19 23:34:05 -07:00
Brendan Hansknecht
d4b86a745b
update mono tests
2024-07-13 10:39:57 -07:00
Folkert
48ddbec9d1
mono tests
2024-07-06 16:08:56 +02:00
shua
d90da3af52
rm TotallyNotJson
...
TotallyNotJson.roc now lives on the farm in virtual-dom-wip as Json.roc.
Any reference in stdlib or builtins has been removed, as well as the
last places it was used (in python/ruby-interop examples).
2024-07-01 20:37:23 +02:00
Anton-4
18394da2a2
update mono tests
2024-06-10 16:32:53 +02:00
Folkert
241d2b565a
update mono tests
2024-05-04 15:59:59 +02:00
Fabian Schmalzried
4586147ee8
fix test-mono
2024-04-01 21:08:15 +02:00
Brendan Hansknecht
3c737c19ee
update mono tests
2024-02-29 21:33:32 -08:00
Richard Feldman
3b55b64ca6
Update mono tests
2024-02-15 06:47:14 -05:00
Richard Feldman
aabd95404f
Merge remote-tracking branch 'origin/main' into remove-nat
2024-01-30 21:42:45 -05:00
Kiryl Dziamura
b3dfdb562b
crash on rem div by zero
2024-01-30 11:12:02 +01:00
Folkert
979128cf32
make division by zero (integer) not trap
2024-01-29 01:38:32 +01:00
Richard Feldman
418731cb71
Update mono tests
2024-01-26 16:25:32 -05:00
Brian Teague
4499f8c6f4
isApproxEq function
2024-01-23 21:06:35 -05:00
Folkert
8b5269a66c
update mono tests
2024-01-20 22:31:54 +01:00
Bryce Miller
80dd0b6b93
run test_mono
2023-12-12 07:42:18 -05:00
Folkert
abff41c91f
update mono tests
2023-11-06 18:19:34 +01:00
Isaac Van Doren
139d3c6f89
make dropFirst and dropLast drop n elements
2023-10-29 13:23:33 -05:00
Anton-4
44eedf7359
fix mono tests
2023-10-07 19:32:09 +02:00
Brendan Hansknecht
fb1db19dca
mono test
2023-09-17 09:00:01 -07:00
Folkert
26c85d9ccc
mono tests
2023-09-13 20:24:17 +02:00
Richard Feldman
b54a37e4b0
Merge remote-tracking branch 'origin/main' into walk-with-index
2023-08-17 11:54:34 -04:00
Richard Feldman
d63144489a
Merge remote-tracking branch 'origin/main' into walk-with-index
2023-08-17 00:08:50 -04:00
Anton-4
63b7fef60f
Merge + update mono tests
2023-08-16 19:21:34 +02:00
Richard Feldman
7768264868
Update mono tests again
2023-08-15 02:39:50 -04:00
Richard Feldman
af357a5cbd
Update mono tests
2023-08-15 02:30:21 -04:00
Richard Feldman
fd866a5a64
Update mono tests
2023-08-14 20:17:43 -04:00
Richard Feldman
08e7b52ddc
Update mono tests
2023-08-10 23:34:23 -04:00
Folkert
4c17caa90d
update mono tests
2023-08-08 18:39:54 +02:00
Folkert
99fcbd8d5f
update mono test
2023-07-25 09:52:54 +02:00
Ayaz Hafiz
fea41000e5
Update mono tests
2023-07-12 17:00:55 -05:00
Folkert
bb97c384bb
preserve semantics in the glue generation
2023-07-09 15:47:28 +02:00
Ayaz Hafiz
a5e1558a6e
Do not drop uninhabited captures from lambda sets
...
Previously, we would drop uninhabited captures from lambda sets' runtime
representations, which meant sets like
```
[L1 {a: Str}, L2 {a: []}]
```
had runtime representation
```
{Str}
```
rather than
```
Union({Str}, {[]})
```
if we drop unreachable lambdas from the representation, then the
reachable lambdas are somewhat more efficient to compile (as there are
less material tag options), but the compiler complexity increases
because we must represent voided capture sets in the lambda set.
Even if a lambda has voided captures, we must specialize it, because
failing to do so opens us up to losing relevant specializations needed
later on. See 2f7020aa31
for a
previous occurence of that.
As such, simply keep voided layouts in place during lambda set
compilation. The optimizer should elide them anyway.
2023-06-29 17:32:50 -05:00