#![allow(non_snake_case)] use std::collections::BTreeMap; use std::rc::Rc; use dhall_proc_macros as dhall; use dhall_syntax::context::Context; use dhall_syntax::{ rc, BinOp, Builtin, Const, ExprF, Integer, InterpolatedTextContents, Label, Natural, V, X, }; use crate::phase::{NormalizedSubExpr, ResolvedSubExpr, Type, Typed}; type InputSubExpr = ResolvedSubExpr; type OutputSubExpr = NormalizedSubExpr; /// Stores a pair of variables: a normal one and if relevant one /// that corresponds to the alpha-normalized version of the first one. #[derive(Debug, Clone, Eq)] pub(crate) struct AlphaVar { normal: V