Commit Graph

15038 Commits

Author SHA1 Message Date
Folkert
65ca5d33b3
use bitvec for params.s 2022-05-06 22:23:32 +02:00
Folkert
a2b04d35f7
make params.p use a bitvec 2022-05-06 22:06:16 +02:00
Folkert
3e38dc80f5
use bitvec for group (internally) 2022-05-06 21:56:48 +02:00
Folkert de Vries
990823e6b7
Merge pull request #3010 from rtfeldman/polymorphic_lambda_set_usage
Better symbol specialization data structure, and handle closure specialization
2022-05-06 21:37:22 +02:00
Richard Feldman
281602d664
Merge pull request #3003 from rtfeldman/threading
Explicit single vs multithreading for build functions
2022-05-06 15:07:33 -04:00
Richard Feldman
add638cbe6
Merge pull request #3004 from rtfeldman/thread-flex
Thread flex
2022-05-06 14:36:46 -04:00
Ayaz Hafiz
2a4ed33530
We love the eta reductions 2022-05-06 14:32:54 -04:00
Ayaz Hafiz
a0950e9321
impl ExactSizeIterator for VecMap 2022-05-06 14:10:16 -04:00
Ayaz Hafiz
abb9bb8169
Pretty print symbols 2022-05-06 13:37:22 -04:00
Ayaz Hafiz
2aeb06c9cb
Spellcheck 2022-05-06 12:21:42 -04:00
Richard Feldman
531d254bca
Fix parser tests
Regions changed in 15187024233795c059342adc3c23b8a148a7f26e
2022-05-06 12:10:08 -04:00
Richard Feldman
2c3731f7de
Drop an unnecessary lifetime annotation 2022-05-06 12:06:28 -04:00
Richard Feldman
7c8a71d863
Format examples/interactive/tui/Package-Config.roc 2022-05-06 12:06:28 -04:00
Richard Feldman
dcea38dcf6
Add parse test for tui-platform/Package-Config.roc 2022-05-06 12:06:28 -04:00
Richard Feldman
8273775540
Improve test_parse error message 2022-05-06 12:06:28 -04:00
ayazhafiz
dca347a807
Revert "roc fmt"
This reverts commit 9e00527bc214ebbb13d9e05ff03ea24b1467e6dc.
2022-05-06 12:06:28 -04:00
ayazhafiz
ef77ff35cf
Improve expectation for platform requires mismatch
```
── TYPE MISMATCH ───── examples/hello-world/rust-platform/./Package-Config.roc ─

Something is off with the type annotation of the main required symbol:

2│      requires {} { main : a -> a }
                             ^^^^^^

This #UserApp.main value is a:

    Str

But the type annotation on main says it should be:

    a -> a

────────────────────────────────────────────────────────────────────────────────
```
2022-05-06 12:06:27 -04:00
ayazhafiz
514af619f5
Store region of type annotation correctly 2022-05-06 12:06:27 -04:00
Richard Feldman
0810d8194e
roc fmt 2022-05-06 12:06:27 -04:00
Richard Feldman
388f402a26
remove unnecessary clone (thanks, clippy!) 2022-05-06 12:06:27 -04:00
Ayaz Hafiz
77a1f644a4
Thread error message information for requires 2022-05-06 12:06:27 -04:00
Ayaz Hafiz
c7142da116
Correctly generate type constraints for required symbols in platform 2022-05-06 12:06:27 -04:00
Ayaz Hafiz
e8fbda44fc
Revert "Revert "Thread through symbols_from_requires""
This reverts commit 8ac1dfac1a.
2022-05-06 12:06:27 -04:00
Ayaz Hafiz
9e35cf9060
Unable function marks for symbol specializations 2022-05-06 12:03:35 -04:00
Ayaz Hafiz
e0bfe6c762
Make specialization symbols a two-layered VecMap 2022-05-06 11:58:02 -04:00
Richard Feldman
eb4fd05274
Use Threading::Single in wasm test helpers 2022-05-06 11:38:17 -04:00
Richard Feldman
5bf5b26061
Add Nuno Ferreira to AUTHORS 2022-05-06 11:35:50 -04:00
Richard Feldman
a5ffb216c8
Merge pull request #3006 from rtfeldman/nunocf/migrating-docs
Migrating docs
2022-05-06 11:35:05 -04:00
Ayaz Hafiz
b4f5e62f46
Marks specializations for closure defs 2022-05-06 09:44:47 -04:00
Nuno Ferreira
2c29a46968 removed code example as it was breaking CI 2022-05-06 15:18:07 +02:00
Ayaz
7afcdf0f95
Merge pull request #3008 from rtfeldman/list-is-unique-lowlevel
add ListIsUnique lowlevel operation
2022-05-06 08:45:56 -04:00
Folkert
5755475b3a
add ListIsUnique lowlevel operation 2022-05-06 13:56:35 +02:00
Nuno Ferreira
a46555d14c Fixed mistake when porting over List docs 2022-05-06 12:02:57 +02:00
Nuno Ferreira
6e69349dc0 Migrated Dict 2022-05-06 11:26:24 +02:00
Nuno Ferreira
c0b04e2800 Migrated builtins/docs/Result.roc docs over to builtins/roc/Result.roc 2022-05-06 11:13:19 +02:00
Nuno Ferreira
e4d6127e66 Merge branch 'nunocf/migrating-docs' of github.com:rtfeldman/roc into nunocf/migrating-docs 2022-05-06 11:00:39 +02:00
Nuno Ferreira
b6294d1aa1 Merge branch 'trunk' of github.com:rtfeldman/roc into nunocf/migrating-docs 2022-05-06 11:00:17 +02:00
Nuno Ferreira
a4b0664d16 Migrated List.roc docs over to builtins/roc/List.roc 2022-05-06 10:59:58 +02:00
Nuno Ferreira
0b094cfab1 Migrated List.roc docs over to builtins/roc/List.roc 2022-05-06 10:43:39 +02:00
Richard Feldman
fcfe66f84d
Merge pull request #3005 from rtfeldman/fix-clap
Fix clap argument parsing
2022-05-05 18:45:32 -04:00
Nuno Ferreira
92a691ad0f Migrated Str 2022-05-06 00:40:53 +02:00
Nuno Ferreira
53f9de3180 Revert "Moved over all Str functions that are still the same"
This reverts commit a0ec98f36a.
2022-05-06 00:29:59 +02:00
Nuno Ferreira
ea2a6bfb29 Migrated Set 2022-05-06 00:27:43 +02:00
Nuno Ferreira
a0ec98f36a Moved over all Str functions that are still the same
There's a few which seem to have been removed but some docs remained.

I read through them and thought they didn't make sense to migrate as the
types changed. Please let me know if this is correct.

Deleted old Str.roc file
2022-05-06 00:18:29 +02:00
Richard Feldman
d337a80ff5
Use matches.value_of_t 2022-05-05 18:00:47 -04:00
Richard Feldman
da3490be8b
Make sure CLI subcommands support the right flags 2022-05-05 17:47:32 -04:00
Richard Feldman
9dc05ac6d7
Drop unused variable 2022-05-05 17:36:36 -04:00
Richard Feldman
a836570a7b
Remove --link option from CLI 2022-05-05 17:36:25 -04:00
Folkert de Vries
e86fd9e879
Merge pull request #3002 from rtfeldman/fix-debug-flags
Debug flags fixes
2022-05-05 22:36:45 +02:00
Richard Feldman
8ac1dfac1a
Revert "Thread through symbols_from_requires"
This reverts commit 1421aebcd3.
2022-05-05 16:19:34 -04:00