diff options
author | Nadrieril | 2019-03-06 16:30:40 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-06 16:30:40 +0100 |
commit | 4d92f06c98c98c014a02c218b6c31cf81d9f0fec (patch) | |
tree | 30a2e3e0879c58c866a3ae0ed7cbebf2c4a1cfa6 | |
parent | 45992d093b950170fc30e63d2c7d7a2767e9b9e8 (diff) |
Move context to dhall_core
Diffstat (limited to '')
-rw-r--r-- | dhall/src/lib.rs | 1 | ||||
-rw-r--r-- | dhall/src/typecheck.rs | 2 | ||||
-rw-r--r-- | dhall_core/src/context.rs (renamed from dhall/src/context.rs) | 0 | ||||
-rw-r--r-- | dhall_core/src/lib.rs | 1 |
4 files changed, 2 insertions, 2 deletions
diff --git a/dhall/src/lib.rs b/dhall/src/lib.rs index 902df53..32662cd 100644 --- a/dhall/src/lib.rs +++ b/dhall/src/lib.rs @@ -1,5 +1,4 @@ #![feature(box_patterns)] #![feature(trace_macros)] -pub mod context; pub mod typecheck; diff --git a/dhall/src/typecheck.rs b/dhall/src/typecheck.rs index 26192d2..aa8aa08 100644 --- a/dhall/src/typecheck.rs +++ b/dhall/src/typecheck.rs @@ -3,7 +3,7 @@ use std::collections::BTreeMap; use std::collections::HashSet; use std::fmt; -use crate::context::Context; +use dhall_core::context::Context; use dhall_core::core; use dhall_core::core::Builtin::*; use dhall_core::core::Const::*; diff --git a/dhall/src/context.rs b/dhall_core/src/context.rs index b88a677..b88a677 100644 --- a/dhall/src/context.rs +++ b/dhall_core/src/context.rs diff --git a/dhall_core/src/lib.rs b/dhall_core/src/lib.rs index e1d0f7d..dbdd08c 100644 --- a/dhall_core/src/lib.rs +++ b/dhall_core/src/lib.rs @@ -8,3 +8,4 @@ lalrpop_mod!(pub grammar); mod grammar_util; pub mod lexer; pub mod parser; +pub mod context; |