mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
parent
5f74e10d32
commit
ca5d084497
17 changed files with 369 additions and 25 deletions
|
@ -669,6 +669,9 @@ pub enum Pattern<'a> {
|
|||
Underscore(&'a str),
|
||||
SingleQuote(&'a str),
|
||||
|
||||
/// A tuple pattern, e.g. (Just x, 1)
|
||||
Tuple(Collection<'a, Loc<Pattern<'a>>>),
|
||||
|
||||
/// A list pattern like [_, x, ..]
|
||||
List(Collection<'a, Loc<Pattern<'a>>>),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue