From ab100be616932dab22a5309df86107b66e93db37 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sat, 4 May 2019 18:41:22 +0200 Subject: Revert "Make SubExpr generic in the variable labels type" This reverts commit 4c159640e5ee77ffa48b85a5bffa56350cf933ef. --- dhall_syntax/src/core.rs | 207 ++++++++++++++++++++------------------------ dhall_syntax/src/parser.rs | 24 ++--- dhall_syntax/src/printer.rs | 44 ++++------ dhall_syntax/src/visitor.rs | 130 ++++++++++++++-------------- 4 files changed, 187 insertions(+), 218 deletions(-) (limited to 'dhall_syntax') diff --git a/dhall_syntax/src/core.rs b/dhall_syntax/src/core.rs index c8a2425..a186d19 100644 --- a/dhall_syntax/src/core.rs +++ b/dhall_syntax/src/core.rs @@ -60,7 +60,19 @@ pub enum Const { /// The `Int` field is a DeBruijn index. /// See dhall-lang/standard/semantics.md for details #[derive(Debug, Clone, PartialEq, Eq)] -pub struct Var