diff options
| author | Nadrieril | 2020-01-30 17:09:16 +0000 | 
|---|---|---|
| committer | Nadrieril | 2020-01-30 17:09:16 +0000 | 
| commit | 5197c26c23edd6c499f8e0f8a239fe4393b2e3d2 (patch) | |
| tree | 49c8678bf2e696720cc1dcc91d4f80bdbe031203 /dhall/src/semantics/tck | |
| parent | 653cdb44cec4f54697d18f2c4ae9f67bbbc2fb3d (diff) | |
Move main API to lib.rs
Diffstat (limited to 'dhall/src/semantics/tck')
| -rw-r--r-- | dhall/src/semantics/tck/tyexpr.rs | 4 | ||||
| -rw-r--r-- | dhall/src/semantics/tck/typecheck.rs | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/dhall/src/semantics/tck/tyexpr.rs b/dhall/src/semantics/tck/tyexpr.rs index 98dc3f9..4b88048 100644 --- a/dhall/src/semantics/tck/tyexpr.rs +++ b/dhall/src/semantics/tck/tyexpr.rs @@ -1,9 +1,9 @@  use crate::error::{TypeError, TypeMessage};  use crate::semantics::normalize_tyexpr_whnf; -use crate::semantics::phase::Normalized; -use crate::semantics::phase::{NormalizedExpr, ToExprOptions};  use crate::semantics::{rc, NameEnv, NzEnv, TyEnv, Value};  use crate::syntax::{ExprKind, Span, V}; +use crate::Normalized; +use crate::{NormalizedExpr, ToExprOptions};  pub(crate) type Type = Value; diff --git a/dhall/src/semantics/tck/typecheck.rs b/dhall/src/semantics/tck/typecheck.rs index 348471f..212e6e7 100644 --- a/dhall/src/semantics/tck/typecheck.rs +++ b/dhall/src/semantics/tck/typecheck.rs @@ -4,7 +4,6 @@ use std::collections::HashMap;  use crate::error::{TypeError, TypeMessage};  use crate::semantics::merge_maps; -use crate::semantics::phase::Normalized;  use crate::semantics::{      type_of_builtin, Binder, BuiltinClosure, Closure, TyEnv, TyExpr,      TyExprKind, Type, Value, ValueKind, @@ -12,6 +11,7 @@ use crate::semantics::{  use crate::syntax::{      BinOp, Builtin, Const, Expr, ExprKind, InterpolatedTextContents, Span,  }; +use crate::Normalized;  fn type_of_recordtype<'a>(      tys: impl Iterator<Item = Cow<'a, TyExpr>>, | 
