Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Or patterns, i.e Foo(Bar(x) | Baz(x)) #2535

Merged
merged 26 commits into from
Oct 7, 2018
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
1cd9017
rfc, nested-disjunction-patterns: some initial notes"
Centril Apr 9, 2018
7f9ae99
rfc, or-patterns: initial version.
Centril Aug 29, 2018
99db31d
rfc, or-patterns: move file.
Centril Aug 29, 2018
27c8467
rfc, or-patterns: fix typo.
Centril Aug 29, 2018
fb37a51
rfc, or-patterns: simplify to &(p | q | ..).
Centril Aug 29, 2018
1d959b9
rfc, or-patterns: fix typo.
Centril Aug 29, 2018
6db6ac9
rfc, or-patterns: expand initialism DNF.
Centril Aug 29, 2018
61d4948
rfc, or-patterns: fix an oopsie.
Centril Aug 29, 2018
2f75fbc
rfc, or-patterns: fix inconsistency.
Centril Aug 30, 2018
a1a17bd
rfc, or-patterns: flatten list of languages.
Centril Aug 30, 2018
0501bd4
rfc, or-patterns: be more to the point.
Centril Aug 30, 2018
e410faf
rfc, or-patterns: clarify where i @ p | j @ q is allowed today.
Centril Aug 30, 2018
2c974ae
rfc, or-patterns: code using git2-rs, not from it.
Centril Aug 30, 2018
d477b2c
rfc, or-patterns: permalinks.
Centril Aug 30, 2018
55754ae
rfc, or-patterns: give example blowup.
Centril Aug 30, 2018
a00d802
rfc, or-patterns: more rationale for precedence.
Centril Aug 30, 2018
bf7a7bd
rfc, or-patterns: binding mode is important.
Centril Aug 30, 2018
a206586
rfc, or-patterns: discuss special casing E0408.
Centril Aug 30, 2018
839008b
rfc, or-patterns: fix typo.
Centril Aug 30, 2018
5a820cc
rfc, or-patterns: clarify that top_pat is permitted in fn arguments.
Centril Sep 20, 2018
3b016a3
rfc, or-patterns: discuss macros and closures.
Centril Sep 20, 2018
879fd99
rfc, or-patterns: discuss closures more + func args => pat<no_top_alt>.
Centril Sep 20, 2018
151c8a6
rfc, or-patterns: typo & grammar nit?.
Centril Sep 20, 2018
1ad3e9d
rfc, or-patterns: clarify unification semantics for p | q.
Centril Sep 25, 2018
0032122
rfc, or-patterns: note about macros in guide.
Centril Oct 7, 2018
c73692f
RFC 2535
Centril Oct 7, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rfc, or-patterns: fix typo.
  • Loading branch information
Centril committed Aug 30, 2018
commit 839008b4b15accd7ca61fdf3d1dd3ace7461a0ef
2 changes: 1 addition & 1 deletion text/0000-or-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ error[E0408]: variable `i` is not bound in all patterns
| |
| variable not in all patterns
|
| hint: if you wanted `i` to cover both cases, try adding parenthesis around:
| hint: if you wanted `i` to cover both cases, try adding parentheses around:
|
| i @ 0 | 1
| ^^^^^
Expand Down