Commit graph

5230 commits

Author SHA1 Message Date
Anton-4
3431d46573
adjust indent
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-03-08 14:50:10 +01:00
Anton-4
5bc4881c05
Merge remote-tracking branch 'upstream/main' into docs-highlight 2023-03-08 14:35:55 +01:00
Agus Zubiaga
7eedd62844
Fix List.splitFirst and List.splitLast docs
The examples in the docs appear to expect `List.splitFirst` to exclude occurrences of the delimiter in the `after` list:
```
List.splitFirst [Foo, Z, Bar, Z, Baz] Z == Ok { before: [Foo], after: [Bar, Baz] }
```
However, only the first occurrence of the delimiter in the `before` list. The `after` list contains everything after the first occurrence of the delimiter.
```
List.splitFirst [Foo, Z, Bar, Z, Baz] Z == Ok { before: [Foo], after: [Bar, Z, Baz] }
```

The same applies to `List.splitLast`

Signed-off-by: Agus Zubiaga <hi@aguz.me>
2023-03-08 10:18:42 -03:00
Folkert
69b2e03a04
remove dict/set tests for now 2023-03-08 13:54:08 +01:00
Folkert
a0276f1a13
fix stack overflow in roc type traversal 2023-03-08 13:53:16 +01:00
Luke Boswell
ae6f9067b6
fix Roc formatting 2023-03-08 18:11:49 +11:00
Luke Boswell
6e80b52d91
format and clippy 2023-03-08 17:33:49 +11:00
Luke Boswell
890f3db10a
update to support fenced code 2023-03-08 17:30:30 +11:00
Brendan Hansknecht
5e34621613
run cargo upgrade to update compatible version numbers 2023-03-07 12:39:43 -08:00
Anton-4
5e9c7b0621
fix metadata workspace, getrandom feature 2023-03-07 19:15:39 +01:00
Brendan Hansknecht
d41dd52b8d
revert glue fixtures Cargo.toml so it can be built standalone 2023-03-06 23:10:42 -08:00
Luke Boswell
a87794e7b2
Merge remote-tracking branch 'remote/main' into docs-highlight 2023-03-07 17:59:32 +11:00
Luke Boswell
5d321e354b
update mono 2023-03-07 17:28:04 +11:00
Luke Boswell
db37520a4f
Merge remote-tracking branch 'remote/main' into builtin-json 2023-03-07 17:12:47 +11:00
Brendan Hansknecht
11cccde050
clippy 2023-03-06 21:02:47 -08:00
Brendan Hansknecht
75e996c445
remove unused dependencies and ignore false positives 2023-03-06 20:09:01 -08:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
Brendan Hansknecht
4a89bee0a5
centralize package versions except for vendor and excluded 2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec 2023-03-06 16:36:18 -08:00
Brendan Hansknecht
915f2ec49a
remove outdated compiler/str library 2023-03-06 15:03:17 -08:00
Brendan Hansknecht
e7420d5b2c
update outdated deps that don't require code changes 2023-03-06 14:20:42 -08:00
Folkert
3b59c01724
attempt to make RocSet/RocDict FFI-safe 2023-03-06 22:12:33 +01:00
Folkert
508f078d47
standardize derive order 2023-03-06 22:12:12 +01:00
Folkert
08f6774011
remove some todo!s 2023-03-06 22:11:56 +01:00
Brendan Hansknecht
0ed262d318
add missed update to use workspace dep 2023-03-06 13:06:44 -08:00
Brendan Hansknecht
43224dcca9
remove less important Cargo.lock files that we probably shouldn't track 2023-03-06 13:01:07 -08:00
Brendan Hansknecht
c9e4badd93
update as many dependencies as possible to use the workspace version of the package 2023-03-06 12:43:48 -08:00
Folkert
3455d315f3
deal with unions like Result a [] where a tag is elided 2023-03-06 21:43:17 +01:00
Brendan Hansknecht
21af20597e
remove unused dependencies 2023-03-06 12:09:00 -08:00
Folkert
53db40e2f4
dig into the lambda set to find more lambda sets 2023-03-06 20:23:48 +01:00
Brendan Hansknecht
e1719b6fe2
Merge pull request #5092 from Aurelius333/aarch64-sub_reg64_reg64_reg64
Add sub_reg64_reg64_reg64 instruction for aarch64
2023-03-06 18:21:20 +00:00
Luke Boswell
ffcb91321e
clippy 2023-03-06 22:41:06 +11:00
Luke Boswell
25b3b61e07
cargo fmt 2023-03-06 22:37:56 +11:00
Luke Boswell
5ead576976
fix indentation for code blocks 2023-03-06 22:32:25 +11:00
Luke Boswell
5e40e580cb
update docs syntax highlighting, remove unsused code 2023-03-06 22:20:49 +11:00
Ayaz Hafiz
739bdfe64e
Fix a bug in chasing assigned/hole on switch 2023-03-05 22:19:16 -06:00
Ayaz Hafiz
7914b07a2f
Eliminate unneeded joinpoints in union lambda dispatches 2023-03-05 22:10:42 -06:00
Ayaz Hafiz
8e4de80aa9
Add test for enum lambda set elimination 2023-03-05 22:01:50 -06:00
Ayaz Hafiz
a2389c7652
Eliminate joinpoints in trivial lambda set switches 2023-03-05 21:59:01 -06:00
Ayaz Hafiz
7867ffb62b
Rename test 2023-03-05 21:47:06 -06:00
Ayaz Hafiz
9166922e39
Remove unused is_terminal 2023-03-05 21:41:50 -06:00
Ayaz Hafiz
fb5ac9fc6e
Check in failing reproduction for #5086 2023-03-05 21:40:10 -06:00
Brendan Hansknecht
5573ab2275
Merge branch 'glue-getters-rtfeldman' into pluggable-glue 2023-03-05 17:11:25 -08:00
Brendan Hansknecht
40cc5c24d1
fix some minor typos and get another test working 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
c710defa09
get glue cli tests running again 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
17ece67999
get roc glue working directly with .roc plugin files 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
b81ede5e2c
fix breakage due to roc changes 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
3f8396d75c
readd target to Types 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
aacf0649d7
add drop impl for nonrecursive tags 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
ab9dc98d7b
split recursive and nonrecursive tag union functions 2023-03-05 12:33:46 -08:00