Diffstat (limited to 'src/parser/types.rs')
| -rw-r--r-- | src/parser/types.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/types.rs b/src/parser/types.rs index 2385564..e050890 100644 --- a/src/parser/types.rs +++ b/src/parser/types.rs @@ -16,7 +16,7 @@ pub enum Ast<'s> { } #[derive(Clone, Debug)] -pub struct Lambda<'s>(pub Vec<Expr<'s>>); +pub struct Λ<'s>(pub Vec<Expr<'s>>); #[derive(Clone)] pub enum Value<'s> { @@ -43,7 +43,7 @@ pub enum Expr<'s> { Function(super::fun::Function<'s>), Value(Value<'s>), Ident(&'s str), - Lambda(Lambda<'s>), + Lambda(Λ<'s>), Let { name: &'s str, rhs: Box<Expr<'s>>, |