1
0
forked from GitHub/gf-core

move GF.Devel.TC and GF.Devel.TypeCheck to GF.Compile.*

This commit is contained in:
kr.angelov
2008-05-22 15:43:25 +00:00
parent d7bad70865
commit 243cbba4c6
3 changed files with 8 additions and 10 deletions

View File

@@ -24,20 +24,19 @@
module GF.Compile.CheckGrammar ( module GF.Compile.CheckGrammar (
showCheckModule, justCheckLTerm, allOperDependencies, topoSortOpers) where showCheckModule, justCheckLTerm, allOperDependencies, topoSortOpers) where
import GF.Grammar.Grammar
import GF.Infra.Ident import GF.Infra.Ident
import GF.Infra.Modules import GF.Infra.Modules
import GF.Grammar.Refresh ----
import GF.Devel.TypeCheck import GF.Compile.TypeCheck
import GF.Grammar.Predef (cPredef, cPredefAbs) ---
import GF.Grammar.Refresh
import GF.Grammar.Grammar
import GF.Grammar.PrGrammar import GF.Grammar.PrGrammar
import GF.Grammar.Lookup import GF.Grammar.Lookup
import GF.Grammar.LookAbs import GF.Grammar.LookAbs
import GF.Grammar.Predef import GF.Grammar.Predef
import GF.Grammar.Macros import GF.Grammar.Macros
import GF.Grammar.ReservedWords ---- import GF.Grammar.ReservedWords
import GF.Grammar.PatternMatch import GF.Grammar.PatternMatch
import GF.Grammar.AppPredefined import GF.Grammar.AppPredefined
import GF.Grammar.Lockfield (isLockLabel) import GF.Grammar.Lockfield (isLockLabel)

View File

@@ -12,7 +12,7 @@
-- Thierry Coquand's type checking algorithm that creates a trace -- Thierry Coquand's type checking algorithm that creates a trace
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
module GF.Devel.TC (AExp(..), module GF.Compile.TC (AExp(..),
Theory, Theory,
checkExp, checkExp,
inferExp, inferExp,

View File

@@ -12,7 +12,7 @@
-- (Description of the module) -- (Description of the module)
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
module GF.Devel.TypeCheck (-- * top-level type checking functions; TC should not be called directly. module GF.Compile.TypeCheck (-- * top-level type checking functions; TC should not be called directly.
checkContext, checkContext,
checkTyp, checkTyp,
checkEquation, checkEquation,
@@ -26,11 +26,10 @@ import GF.Grammar.Abstract
import GF.Grammar.Refresh import GF.Grammar.Refresh
import GF.Grammar.LookAbs import GF.Grammar.LookAbs
import qualified GF.Grammar.Lookup as Lookup --- import qualified GF.Grammar.Lookup as Lookup ---
import GF.Devel.TC
import GF.Grammar.Unify --- import GF.Grammar.Unify ---
import GF.Compile.TC
import Control.Monad (foldM, liftM, liftM2) import Control.Monad (foldM, liftM, liftM2)
import Data.List (nub) --- import Data.List (nub) ---