1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 00:12:29 +03:00

Move Semantic.Eval to Analysis.Eval.

This commit is contained in:
Rob Rix 2019-06-03 11:40:37 -04:00
parent f955ecbb6e
commit 7559eed761
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7
5 changed files with 5 additions and 5 deletions

View File

@ -19,6 +19,7 @@ tested-with: GHC == 8.6.4
library library
exposed-modules: Analysis.Concrete exposed-modules: Analysis.Concrete
, Analysis.Eval
, Analysis.FlowInsensitive , Analysis.FlowInsensitive
, Analysis.ImportGraph , Analysis.ImportGraph
, Analysis.ScopeGraph , Analysis.ScopeGraph
@ -28,7 +29,6 @@ library
, Data.Loc , Data.Loc
, Data.Stack , Data.Stack
, Semantic.Core , Semantic.Core
, Semantic.Eval
, Semantic.Name , Semantic.Name
-- other-modules: -- other-modules:
-- other-extensions: -- other-extensions:

View File

@ -11,6 +11,7 @@ module Analysis.Concrete
import qualified Algebra.Graph as G import qualified Algebra.Graph as G
import qualified Algebra.Graph.Export.Dot as G import qualified Algebra.Graph.Export.Dot as G
import Analysis.Eval
import Control.Applicative (Alternative (..)) import Control.Applicative (Alternative (..))
import Control.Effect import Control.Effect
import Control.Effect.Fail import Control.Effect.Fail
@ -28,7 +29,6 @@ import qualified Data.Map as Map
import Data.Monoid (Alt(..)) import Data.Monoid (Alt(..))
import Prelude hiding (fail) import Prelude hiding (fail)
import qualified Semantic.Core as Core import qualified Semantic.Core as Core
import Semantic.Eval
import Semantic.Name import Semantic.Name
type Precise = Int type Precise = Int

View File

@ -1,5 +1,5 @@
{-# LANGUAGE FlexibleContexts, GeneralizedNewtypeDeriving, LambdaCase, RankNTypes, RecordWildCards #-} {-# LANGUAGE FlexibleContexts, GeneralizedNewtypeDeriving, LambdaCase, RankNTypes, RecordWildCards #-}
module Semantic.Eval module Analysis.Eval
( eval ( eval
, prog1 , prog1
, prog2 , prog2

View File

@ -5,6 +5,7 @@ module Analysis.ImportGraph
, importGraphAnalysis , importGraphAnalysis
) where ) where
import Analysis.Eval
import Analysis.FlowInsensitive import Analysis.FlowInsensitive
import Control.Applicative (Alternative(..)) import Control.Applicative (Alternative(..))
import Control.Effect import Control.Effect
@ -21,7 +22,6 @@ import qualified Data.Map as Map
import qualified Data.Set as Set import qualified Data.Set as Set
import Prelude hiding (fail) import Prelude hiding (fail)
import qualified Semantic.Core as Core import qualified Semantic.Core as Core
import Semantic.Eval
import Semantic.Name import Semantic.Name
type ImportGraph = Map.Map FilePath (Set.Set FilePath) type ImportGraph = Map.Map FilePath (Set.Set FilePath)

View File

@ -10,6 +10,7 @@ module Analysis.Typecheck
, typecheckingAnalysis , typecheckingAnalysis
) where ) where
import Analysis.Eval
import Analysis.FlowInsensitive import Analysis.FlowInsensitive
import Control.Applicative (Alternative (..)) import Control.Applicative (Alternative (..))
import Control.Effect import Control.Effect
@ -30,7 +31,6 @@ import qualified Data.Map as Map
import qualified Data.Set as Set import qualified Data.Set as Set
import Prelude hiding (fail) import Prelude hiding (fail)
import qualified Semantic.Core as Core import qualified Semantic.Core as Core
import Semantic.Eval
import Semantic.Name import Semantic.Name
data Monotype a data Monotype a