mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Rename Lambda -> Closure for consistency
This commit is contained in:
parent
5b40cec4ab
commit
ab4e03b05d
4 changed files with 45 additions and 33 deletions
|
@ -89,7 +89,7 @@ impl_space_problem! {
|
|||
EIf<'a>,
|
||||
EImports,
|
||||
EInParens<'a>,
|
||||
ELambda<'a>,
|
||||
EClosure<'a>,
|
||||
EList<'a>,
|
||||
EPackageEntry<'a>,
|
||||
EPackages<'a>,
|
||||
|
@ -354,7 +354,7 @@ pub enum EExpr<'a> {
|
|||
|
||||
Expect(EExpect<'a>, Position),
|
||||
|
||||
Lambda(ELambda<'a>, Position),
|
||||
Closure(EClosure<'a>, Position),
|
||||
Underscore(Position),
|
||||
|
||||
InParens(EInParens<'a>, Position),
|
||||
|
@ -428,7 +428,7 @@ pub enum EInParens<'a> {
|
|||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum ELambda<'a> {
|
||||
pub enum EClosure<'a> {
|
||||
Space(BadInputError, Position),
|
||||
Start(Position),
|
||||
Arrow(Position),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue