From d6e5c56a5ef1d5f2b7cafd4a8fb44ce038932547 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sat, 18 Jan 2020 19:08:34 +0000 Subject: Add Expr visitor and improve tyexpr_to_expr --- dhall/src/syntax/ast/expr.rs | 47 +++++++++++++++++++++++++++++------------ dhall/src/syntax/ast/visitor.rs | 39 ++++++---------------------------- 2 files changed, 40 insertions(+), 46 deletions(-) (limited to 'dhall/src/syntax') diff --git a/dhall/src/syntax/ast/expr.rs b/dhall/src/syntax/ast/expr.rs index f22a279..dbe233b 100644 --- a/dhall/src/syntax/ast/expr.rs +++ b/dhall/src/syntax/ast/expr.rs @@ -180,29 +180,38 @@ impl