1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00

Consolidate the Evaluatable module’s exports.

This commit is contained in:
Rob Rix 2018-03-01 11:59:23 -05:00
parent c0b2bd1c8a
commit d8540f9e4c
10 changed files with 7 additions and 19 deletions

View File

@ -2,6 +2,7 @@
module Analysis.Abstract.Evaluating where module Analysis.Abstract.Evaluating where
import Prologue import Prologue
import Control.Abstract.Evaluator
import Control.Effect import Control.Effect
import Control.Monad.Effect.Fail import Control.Monad.Effect.Fail
import Control.Monad.Effect.Reader import Control.Monad.Effect.Reader
@ -11,7 +12,6 @@ import Data.Abstract.Evaluatable
import Data.Abstract.Linker import Data.Abstract.Linker
import Data.Abstract.Store import Data.Abstract.Store
import Data.Abstract.Value import Data.Abstract.Value
import Data.Abstract.FreeVariables
import Data.Blob import Data.Blob
import Prelude hiding (fail) import Prelude hiding (fail)
import qualified Data.Map as Map import qualified Data.Map as Map

View File

@ -2,28 +2,27 @@
{-# LANGUAGE TypeApplications #-} {-# LANGUAGE TypeApplications #-}
module Data.Abstract.Evaluatable module Data.Abstract.Evaluatable
( Evaluatable(..) ( Evaluatable(..)
, AbstractValue(..)
, module Addressable , module Addressable
, module Evaluator , module FreeVariables
, Recursive(..) , MonadEvaluator(..)
, Base
, Subterm(..)
, MonadFunctionAbstraction(..) , MonadFunctionAbstraction(..)
) where ) where
import Control.Abstract.Addressable as Addressable import Control.Abstract.Addressable as Addressable
import Control.Abstract.Evaluator as Evaluator import Control.Abstract.Evaluator
import Control.Applicative (Alternative(..)) import Control.Applicative (Alternative(..))
import Control.Monad.Effect.Fail import Control.Monad.Effect.Fail
import Control.Monad.Effect.Fresh import Control.Monad.Effect.Fresh
import Control.Monad.Effect.Internal import Control.Monad.Effect.Internal
import Data.Abstract.Address import Data.Abstract.Address
import Data.Abstract.Environment import Data.Abstract.Environment
import Data.Abstract.FreeVariables import Data.Abstract.FreeVariables as FreeVariables
import Data.Abstract.Type as Type import Data.Abstract.Type as Type
import Data.Abstract.Value import Data.Abstract.Value
import Data.Algebra import Data.Algebra
import Data.Functor.Classes import Data.Functor.Classes
import Data.Functor.Foldable (Base, Recursive(..), project) import Data.Functor.Foldable (Base, Recursive(..))
import Data.Proxy import Data.Proxy
import Data.Semigroup import Data.Semigroup
import Data.Term import Data.Term

View File

@ -5,8 +5,6 @@ import qualified Assigning.Assignment as Assignment
import Control.Monad.Fail import Control.Monad.Fail
import Data.Abstract.Environment import Data.Abstract.Environment
import Data.Abstract.Evaluatable import Data.Abstract.Evaluatable
import Data.Abstract.FreeVariables
import Data.Abstract.Value (AbstractValue(..))
import Data.AST import Data.AST
import Data.ByteString.Char8 (unpack) import Data.ByteString.Char8 (unpack)
import qualified Data.Error as Error import qualified Data.Error as Error

View File

@ -3,8 +3,6 @@ module Data.Syntax.Comment where
import Prologue import Prologue
import Data.Abstract.Evaluatable import Data.Abstract.Evaluatable
import Data.Abstract.FreeVariables
import Data.Abstract.Value
import Diffing.Algorithm import Diffing.Algorithm
-- | An unnested comment (line or block). -- | An unnested comment (line or block).

View File

@ -4,7 +4,6 @@ module Data.Syntax.Declaration where
import Prologue import Prologue
import Data.Abstract.Environment import Data.Abstract.Environment
import Data.Abstract.Evaluatable import Data.Abstract.Evaluatable
import Data.Abstract.FreeVariables
import Diffing.Algorithm import Diffing.Algorithm
import Prelude hiding (fail) import Prelude hiding (fail)

View File

@ -2,7 +2,6 @@
module Data.Syntax.Expression where module Data.Syntax.Expression where
import Data.Abstract.Evaluatable import Data.Abstract.Evaluatable
import Data.Abstract.FreeVariables
import Diffing.Algorithm import Diffing.Algorithm
import Prologue hiding (apply) import Prologue hiding (apply)
import Prelude hiding (fail) import Prelude hiding (fail)

View File

@ -2,8 +2,6 @@
module Data.Syntax.Literal where module Data.Syntax.Literal where
import Data.Abstract.Evaluatable import Data.Abstract.Evaluatable
import Data.Abstract.FreeVariables
import Data.Abstract.Value (AbstractValue(..))
import Data.ByteString.Char8 (readInteger) import Data.ByteString.Char8 (readInteger)
import Diffing.Algorithm import Diffing.Algorithm
import Prologue hiding (Set) import Prologue hiding (Set)

View File

@ -3,7 +3,6 @@ module Data.Syntax.Statement where
import Data.Abstract.Environment import Data.Abstract.Environment
import Data.Abstract.Evaluatable import Data.Abstract.Evaluatable
import Data.Abstract.FreeVariables
import Diffing.Algorithm import Diffing.Algorithm
import Prologue import Prologue

View File

@ -2,7 +2,6 @@
module Data.Syntax.Type where module Data.Syntax.Type where
import Data.Abstract.Evaluatable import Data.Abstract.Evaluatable
import Data.Abstract.FreeVariables
import Diffing.Algorithm import Diffing.Algorithm
import Prologue hiding (Map) import Prologue hiding (Map)

View File

@ -2,7 +2,6 @@
module Language.Python.Syntax where module Language.Python.Syntax where
import Data.Abstract.Evaluatable import Data.Abstract.Evaluatable
import Data.Abstract.FreeVariables
import Data.Align.Generic import Data.Align.Generic
import Data.Functor.Classes.Generic import Data.Functor.Classes.Generic
import Data.Mergeable import Data.Mergeable