From 4c159640e5ee77ffa48b85a5bffa56350cf933ef Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sat, 4 May 2019 17:59:05 +0200 Subject: Make SubExpr generic in the variable labels type --- 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, 218 insertions(+), 187 deletions(-) (limited to 'dhall_syntax') diff --git a/dhall_syntax/src/core.rs b/dhall_syntax/src/core.rs index a186d19..c8a2425 100644 --- a/dhall_syntax/src/core.rs +++ b/dhall_syntax/src/core.rs @@ -60,19 +60,7 @@ 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 V