From 5f0d69671b44ba1dff6becb9ebc7f6e74241e3e2 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 16 Aug 2019 18:14:55 +0200 Subject: Remove dead code --- dhall/src/core/context.rs | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'dhall/src/core/context.rs') diff --git a/dhall/src/core/context.rs b/dhall/src/core/context.rs index 9230a2e..3c07c1c 100644 --- a/dhall/src/core/context.rs +++ b/dhall/src/core/context.rs @@ -18,9 +18,6 @@ enum CtxItem { #[derive(Debug, Clone)] struct Context(Rc)>>); -#[derive(Debug, Clone)] -pub(crate) struct NormalizationContext(Context<()>); - #[derive(Debug, Clone)] pub(crate) struct TypecheckContext(Context); @@ -117,22 +114,6 @@ impl Context { } } -impl NormalizationContext { - pub fn new() -> Self { - NormalizationContext(Context::new()) - } - pub fn skip(&self, x: &Label) -> Self { - NormalizationContext(self.0.insert_kept(x, ())) - } - pub fn lookup(&self, var: &V