Ayaz
27a08041e0
Merge pull request #4454 from roc-lang/list-decision-tree-fixes
...
Minor cleanup and off-by-one fix for list decision trees
2022-11-02 13:21:30 -05:00
Anton-4
e47f22b69c
Merge pull request #4453 from roc-lang/fix-nix-packaging-macos
...
fix Nix packaging on macOS
2022-11-02 19:17:21 +01:00
Anton-4
a8fcc8b107
Merge branch 'main' of github.com:roc-lang/roc into fix-nix-packaging-macos
2022-11-02 17:51:39 +01:00
Anton-4
c2e81aea69
Merge pull request #4455 from roc-lang/windows-lld-link-patch
...
patch windows lld-link error
2022-11-02 17:49:44 +01:00
Anton-4
7e5120eddf
Merge pull request #4457 from roc-lang/bench-against-main
...
Compare benches of branch with main
2022-11-02 17:31:58 +01:00
Anton-4
eb204f0305
ditch env var
2022-11-02 16:04:53 +01:00
Anton-4
a608016704
Merge branch 'main' of github.com:roc-lang/roc into windows-lld-link-patch
2022-11-02 15:04:17 +01:00
Anton-4
71ef9dffae
compare benches with main
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-02 14:44:16 +01:00
dependabot[bot]
3e8a47aa9a
Bump regex from 1.5.4 to 1.5.5 in /ci/benchmarks/bench-runner
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.5 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 13:37:29 +00:00
Anton-4
85ce321c4d
Merge pull request #4347 from roc-lang/benchmarks-to-nix
...
moved earthly benchmarks to nix
2022-11-02 14:36:20 +01:00
Anton-4
731b706e6a
added quotes around env var
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-02 14:36:04 +01:00
Anton-4
cd04f3d12d
remove roc_fmt tests
...
Because of github error:
```
error: cannot parse ':test_fmt_builtins --skip test_fmt::test_fmt_examples' as a semver
```
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-02 13:19:31 +01:00
Anton-4
9db9c0a13c
patch windows lld-link error
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-02 11:46:43 +01:00
Ayaz Hafiz
fc52e9582e
Fix an off-by-one modelling
2022-11-01 22:42:52 -05:00
Ayaz Hafiz
63abc4096d
Remove stale TODOs
2022-11-01 22:36:52 -05:00
Brian Hicks
db8955d6b5
examine PATH instead of calling which
2022-11-01 22:00:18 -05:00
Brian Hicks
50bde4e8b6
update cargoSha256
2022-11-01 22:00:05 -05:00
Richard Feldman
ecbb8be61d
Merge pull request #4448 from roc-lang/list-patterns-decision-tree
...
Decision tree compilation of list pattern matches
2022-11-01 19:26:54 -07:00
Richard Feldman
2f7634a71c
Fix repl tests
2022-11-01 22:07:48 -04:00
Richard Feldman
e2451c7f22
Drop the gray lines from the repl
2022-11-01 22:05:47 -04:00
Richard Feldman
1499ec5def
Drop termline dependency
2022-11-01 21:42:08 -04:00
Richard Feldman
fb39dfa551
Merge pull request #4445 from roc-lang/tutorial-tag-unions
...
Update tag unions portion of tutorial
2022-11-01 17:16:36 -07:00
Ayaz Hafiz
666f0f8a52
Simplify constructor recovery
...
This fixes a bug in the list pattern matching code that caused crashes
in the presence of list guards, and simplifies the pattern splitting
algorithm to avoid complexity and allocations. Previously we would place
arguments-to-be-matched of constructors and lists at the front of
specialized rows for exhaustiveness checking, but at the back for
redundancy checking. Now, we always place them at the back - this avoids
needless allocation, and is not any worse, since we can still recover
the non-exhaustive witnesses by looking at the end of a list, instead of
the front.
2022-11-01 17:47:22 -05:00
Folkert de Vries
190a3c2a6f
Merge pull request #4124 from roc-lang/windows-tests
...
WIP windows: build tests, run some tests
2022-11-01 22:32:55 +01:00
Ayaz Hafiz
2d20c3b339
Allow too many args
2022-11-01 15:42:24 -05:00
Ayaz Hafiz
822aa71a0a
Compute list element stores lazily
2022-11-01 15:37:36 -05:00
Ayaz Hafiz
27b9dd8253
Simplify arity and branching calculation
2022-11-01 15:33:23 -05:00
Ayaz Hafiz
0706615d29
Decision tree compilation of suffixed list patterns
2022-11-01 15:22:31 -05:00
Ayaz Hafiz
b0edcc9af4
Add base gen tests for list matching compilation
2022-11-01 15:22:31 -05:00
Ayaz Hafiz
45f7cd5ad7
Make sure to update path of matched list
2022-11-01 15:22:31 -05:00
Ayaz Hafiz
ae71c7efe2
Decision tree compilation of list patterns
2022-11-01 15:22:31 -05:00
Ayaz
da1d937277
Merge pull request #4352 from roc-lang/i4349
...
Support monomorphic captures of body-polymorphic expressions in closures
2022-11-01 15:21:30 -05:00
Ayaz
0f4420e85e
Merge pull request #4447 from roc-lang/list-patterns-exhaustiveness
...
Exhaustiveness checking for list pattern matches
2022-11-01 15:19:42 -05:00
Folkert de Vries
b143183ba8
Merge pull request #4442 from roc-lang/better_errors
...
centralized commands, better errors, link build command refactoring
2022-11-01 21:10:37 +01:00
Richard Feldman
19ffa61f8f
Add a gray line after each repl output
2022-11-01 15:57:22 -04:00
Anton-4
a850a333bc
removed cli_run test
...
Some debug info version message popped up in stderr causing the test to fail.
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-01 20:47:56 +01:00
Richard Feldman
9156a323ea
Revise empty tag union tutorial content
2022-11-01 15:38:35 -04:00
Richard Feldman
2c216276b3
Revise tag union tutorial
2022-11-01 15:21:12 -04:00
Richard Feldman
62bc37e7f7
Drop some trailing spaces from ends of lines
2022-11-01 15:17:49 -04:00
Anton-4
ea8895c0b3
typo
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-01 18:52:52 +01:00
Ayaz Hafiz
4b549ab24e
Apply clippy suggestions
2022-11-01 12:37:10 -05:00
Ayaz Hafiz
1d73560182
Add some more tests
2022-11-01 12:16:11 -05:00
Ayaz Hafiz
56bf50c331
Improve list pattern matching documentation
2022-11-01 12:07:00 -05:00
Ayaz Hafiz
7652ea2828
Add more documentation
2022-11-01 12:07:00 -05:00
Ayaz Hafiz
f696e8dd29
Clarify comment
2022-11-01 12:07:00 -05:00
Ayaz Hafiz
342f9f2e02
Add correct redundancy checking and tests for list patterns
2022-11-01 12:07:00 -05:00
Ayaz Hafiz
17920911e4
Implement list exhaustiveness checking
2022-11-01 12:07:00 -05:00
Ayaz Hafiz
62edf9547e
Better printing of list patterns
2022-11-01 12:07:00 -05:00
Ayaz Hafiz
99a4e21618
Improve exhaustiveness checking heuristics for list patterns
2022-11-01 12:07:00 -05:00
Ayaz Hafiz
a58d128d9e
Cover mode when unifying variable slices
2022-11-01 12:06:59 -05:00