mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
move GF.Devel.TC and GF.Devel.TypeCheck to GF.Compile.*
This commit is contained in:
@@ -24,20 +24,19 @@
|
||||
module GF.Compile.CheckGrammar (
|
||||
showCheckModule, justCheckLTerm, allOperDependencies, topoSortOpers) where
|
||||
|
||||
import GF.Grammar.Grammar
|
||||
import GF.Infra.Ident
|
||||
import GF.Infra.Modules
|
||||
import GF.Grammar.Refresh ----
|
||||
|
||||
import GF.Devel.TypeCheck
|
||||
import GF.Grammar.Predef (cPredef, cPredefAbs) ---
|
||||
import GF.Compile.TypeCheck
|
||||
|
||||
import GF.Grammar.Refresh
|
||||
import GF.Grammar.Grammar
|
||||
import GF.Grammar.PrGrammar
|
||||
import GF.Grammar.Lookup
|
||||
import GF.Grammar.LookAbs
|
||||
import GF.Grammar.Predef
|
||||
import GF.Grammar.Macros
|
||||
import GF.Grammar.ReservedWords ----
|
||||
import GF.Grammar.ReservedWords
|
||||
import GF.Grammar.PatternMatch
|
||||
import GF.Grammar.AppPredefined
|
||||
import GF.Grammar.Lockfield (isLockLabel)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
-- Thierry Coquand's type checking algorithm that creates a trace
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
module GF.Devel.TC (AExp(..),
|
||||
module GF.Compile.TC (AExp(..),
|
||||
Theory,
|
||||
checkExp,
|
||||
inferExp,
|
||||
@@ -12,7 +12,7 @@
|
||||
-- (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,
|
||||
checkTyp,
|
||||
checkEquation,
|
||||
@@ -26,11 +26,10 @@ import GF.Grammar.Abstract
|
||||
import GF.Grammar.Refresh
|
||||
import GF.Grammar.LookAbs
|
||||
import qualified GF.Grammar.Lookup as Lookup ---
|
||||
|
||||
import GF.Devel.TC
|
||||
|
||||
import GF.Grammar.Unify ---
|
||||
|
||||
import GF.Compile.TC
|
||||
|
||||
import Control.Monad (foldM, liftM, liftM2)
|
||||
import Data.List (nub) ---
|
||||
|
||||
Reference in New Issue
Block a user