mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
Introduce Closure
This commit is contained in:
parent
91aac9a86e
commit
3b34c82b42
2 changed files with 13 additions and 0 deletions
|
@ -15,6 +15,7 @@ pub enum Expr {
|
|||
Func(String, Box<Expr>),
|
||||
Apply(Box<Expr>, Box<Expr>),
|
||||
Operator(Box<Expr>, Operator, Box<Expr>),
|
||||
Closure(Vec<Pattern>, Box<Expr>),
|
||||
|
||||
If(Box<Expr>, Box<Expr>, Box<Expr>),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue