diff options
author | Nadrieril | 2020-01-30 17:04:28 +0000 |
---|---|---|
committer | Nadrieril | 2020-01-30 17:04:28 +0000 |
commit | 653cdb44cec4f54697d18f2c4ae9f67bbbc2fb3d (patch) | |
tree | d077bc1d1323d9d2886d952399fba4d85aa69075 /dhall/src/semantics/nze | |
parent | 0c95dd4f940e796865976dad594068ae0fff8f7c (diff) |
Move normalize under nze
Diffstat (limited to '')
-rw-r--r-- | dhall/src/semantics/nze/mod.rs | 2 | ||||
-rw-r--r-- | dhall/src/semantics/nze/normalize.rs (renamed from dhall/src/semantics/phase/normalize.rs) | 0 | ||||
-rw-r--r-- | dhall/src/semantics/nze/value.rs | 4 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dhall/src/semantics/nze/mod.rs b/dhall/src/semantics/nze/mod.rs index f367f8f..e3b37cd 100644 --- a/dhall/src/semantics/nze/mod.rs +++ b/dhall/src/semantics/nze/mod.rs @@ -1,7 +1,9 @@ pub mod env; +pub mod normalize; pub mod value; pub mod var; pub mod visitor; pub(crate) use env::*; +pub(crate) use normalize::*; pub(crate) use value::*; pub(crate) use var::*; diff --git a/dhall/src/semantics/phase/normalize.rs b/dhall/src/semantics/nze/normalize.rs index ea1a25b..ea1a25b 100644 --- a/dhall/src/semantics/phase/normalize.rs +++ b/dhall/src/semantics/nze/normalize.rs diff --git a/dhall/src/semantics/nze/value.rs b/dhall/src/semantics/nze/value.rs index 4960076..215c342 100644 --- a/dhall/src/semantics/nze/value.rs +++ b/dhall/src/semantics/nze/value.rs @@ -4,11 +4,9 @@ use std::rc::Rc; use crate::error::{TypeError, TypeMessage}; use crate::semantics::nze::visitor; -use crate::semantics::phase::normalize::{ - apply_any, normalize_tyexpr_whnf, normalize_whnf, -}; use crate::semantics::phase::{Normalized, NormalizedExpr, ToExprOptions}; use crate::semantics::Binder; +use crate::semantics::{apply_any, normalize_tyexpr_whnf, normalize_whnf}; use crate::semantics::{type_of_builtin, typecheck, TyExpr, TyExprKind}; use crate::semantics::{BuiltinClosure, NzEnv, NzVar, VarEnv}; use crate::syntax::{ |