1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 17:05:33 +03:00

Import just the effect where possible.

This commit is contained in:
Rob Rix 2019-09-30 16:32:37 -04:00
parent d181a6228a
commit b783f94a32
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7
5 changed files with 5 additions and 5 deletions

View File

@ -13,13 +13,13 @@ import Data.ByteString.Builder
import Data.List (intersperse)
import Control.Effect.Error
import Control.Effect.Parse
import Control.Effect.Reader
import Data.AST
import Data.Blob
import Parsing.Parser
import Rendering.JSON (renderJSONAST)
import Semantic.Config
import Semantic.Parse
import Semantic.Task
import qualified Serializing.Format as F

View File

@ -14,6 +14,7 @@ module Semantic.Api.Diffs
import Analysis.ConstructorName (ConstructorName)
import Analysis.TOCSummary (HasDeclaration)
import Control.Effect.Error
import Control.Effect.Parse
import Control.Effect.Reader
import Control.Exception
import Control.Lens
@ -36,7 +37,6 @@ import Rendering.JSON hiding (JSON)
import qualified Rendering.JSON
import Semantic.Api.Bridge
import Semantic.Config
import Semantic.Parse
import Semantic.Proto.SemanticPB hiding (Blob, BlobPair)
import Semantic.Task as Task
import Semantic.Telemetry as Stat

View File

@ -6,6 +6,7 @@ module Semantic.Api.Symbols
) where
import Control.Effect.Error
import Control.Effect.Parse
import Control.Effect.Reader
import Control.Exception
import Control.Lens
@ -22,7 +23,6 @@ import Prologue
import Semantic.Api.Bridge
import qualified Semantic.Api.LegacyTypes as Legacy
import Semantic.Api.Terms (ParseEffects, doParse)
import Semantic.Parse
import Semantic.Proto.SemanticPB hiding (Blob)
import Semantic.Task
import Serializing.Format

View File

@ -16,6 +16,7 @@ module Semantic.Api.Terms
import Analysis.ConstructorName (ConstructorName)
import Control.Effect.Error
import Control.Effect.Parse
import Control.Effect.Reader
import Control.Lens
import Control.Monad
@ -38,7 +39,6 @@ import Rendering.JSON hiding (JSON)
import qualified Rendering.JSON
import Semantic.Api.Bridge
import Semantic.Config
import Semantic.Parse
import Semantic.Proto.SemanticPB hiding (Blob)
import Semantic.Task
import Serializing.Format hiding (JSON)

View File

@ -35,6 +35,7 @@ import Analysis.Abstract.Graph as Graph
import Control.Abstract hiding (String)
import Control.Abstract.PythonPackage as PythonPackage
import Control.Effect.Carrier
import Control.Effect.Parse
import Data.Abstract.Address.Hole as Hole
import Data.Abstract.Address.Monovariant as Monovariant
import Data.Abstract.Address.Precise as Precise
@ -62,7 +63,6 @@ import Language.Haskell.HsColour.Colourise
import Parsing.Parser
import Prologue hiding (TypeError (..))
import Semantic.Analysis
import Semantic.Parse
import Semantic.Task as Task
import Source.Loc as Loc
import Source.Span