Folkert
07383e96f0
Merge remote-tracking branch 'origin/trunk' into i/2792
2022-05-06 20:17:53 +02:00
Folkert
64b633bea6
make round return an integer
2022-05-06 20:17:40 +02: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
Folkert
f140fad2b0
add the test that started this whole saga
2022-05-06 16:55:08 +02:00
Folkert
2c8f57c7ba
restore a test
2022-05-06 16:48:17 +02:00
Folkert
ae90f1ec7e
re-enable test
2022-05-06 16:47:29 +02:00
Folkert
e2b7056e20
add List.sort test
2022-05-06 16:45:50 +02:00
Folkert
0a2a43546c
add List.map RC tests
2022-05-06 16:39:05 +02:00
Folkert
61c2b20313
cleanup
2022-05-06 16:12:49 +02:00
Ayaz Hafiz
b4f5e62f46
Marks specializations for closure defs
2022-05-06 09:44:47 -04:00
Folkert
8c3a00f7aa
thread through an updatemodeids
2022-05-06 15:41:29 +02:00
Folkert
cfa331be02
handle sorting of unique lists
2022-05-06 15:28:56 +02: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
f2c498c900
Merge branch 'list-is-unique-lowlevel' into list-map-ownership
2022-05-06 14:13:03 +02: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
Folkert
8f5956fdfe
refactor
2022-05-06 10:26:44 +02:00
Folkert
032104e02b
factor out decrement to closure argument
2022-05-06 09:52:49 +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