summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChrisDone <>2016-05-12 13:52:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2016-05-12 13:52:00 (GMT)
commit71b3b8b5a46a245de6ba65f10568126601628473 (patch)
tree9ac8ab7dd4f30ffd739f61643565c4fc140edcab
parent57a6c5fa4ed16a64a9d60496647733f0ad11bb10 (diff)
version 0.1.00.1.0
-rw-r--r--intero.cabal2
-rw-r--r--src/GhciMonad.hs1
-rw-r--r--src/InteractiveUI.hs5
3 files changed, 2 insertions, 6 deletions
diff --git a/intero.cabal b/intero.cabal
index 484d119..6add287 100644
--- a/intero.cabal
+++ b/intero.cabal
@@ -1,7 +1,7 @@
name:
intero
version:
- 0.0.0
+ 0.1.0
synopsis:
Complete interactive development program for Haskell
license:
diff --git a/src/GhciMonad.hs b/src/GhciMonad.hs
index 02834b2..d95ae66 100644
--- a/src/GhciMonad.hs
+++ b/src/GhciMonad.hs
@@ -126,7 +126,6 @@ data GHCiOption
| ShowType -- show the type of expressions
| RevertCAFs -- revert CAFs after every evaluation
| Multiline -- use multiline commands
- | CollectInfo -- collect and cache information about modules after load
deriving Eq
data BreakLocation
diff --git a/src/InteractiveUI.hs b/src/InteractiveUI.hs
index fa60b38..2012649 100644
--- a/src/InteractiveUI.hs
+++ b/src/InteractiveUI.hs
@@ -1411,9 +1411,8 @@ loadModule' files = do
GHC.setTargets targets
flag <- doLoad False LoadAllTargets
- doCollectInfo <- lift (isOptionSet CollectInfo)
case flag of
- Succeeded | doCollectInfo -> do
+ Succeeded -> do
loaded <- getModuleGraph >>= filterM GHC.isLoaded . map GHC.ms_mod_name
v <- lift (fmap mod_infos getGHCiState)
!newInfos <- collectInfo v loaded
@@ -2431,7 +2430,6 @@ strToGHCiOpt "m" = Just Multiline
strToGHCiOpt "s" = Just ShowTiming
strToGHCiOpt "t" = Just ShowType
strToGHCiOpt "r" = Just RevertCAFs
-strToGHCiOpt "c" = Just CollectInfo
strToGHCiOpt _ = Nothing
optToStr :: GHCiOption -> String
@@ -2439,7 +2437,6 @@ optToStr Multiline = "m"
optToStr ShowTiming = "s"
optToStr ShowType = "t"
optToStr RevertCAFs = "r"
-optToStr CollectInfo = "c"
-- ---------------------------------------------------------------------------