summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChrisDone <>2016-05-12 14:15:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2016-05-12 14:15:00 (GMT)
commit82458180040166d5efff3df9a3f2d8a9f6983088 (patch)
treea67e985e2af4a2edeb5f30192305d99c2eb0f6fd
parent71b3b8b5a46a245de6ba65f10568126601628473 (diff)
version 0.1.10.1.1
-rw-r--r--intero.cabal2
-rw-r--r--src/GhciFind.hs2
-rw-r--r--src/InteractiveUI.hs2
3 files changed, 3 insertions, 3 deletions
diff --git a/intero.cabal b/intero.cabal
index 6add287..cb75628 100644
--- a/intero.cabal
+++ b/intero.cabal
@@ -1,7 +1,7 @@
name:
intero
version:
- 0.1.0
+ 0.1.1
synopsis:
Complete interactive development program for Haskell
license:
diff --git a/src/GhciFind.hs b/src/GhciFind.hs
index b0b56fc..7f8d2e4 100644
--- a/src/GhciFind.hs
+++ b/src/GhciFind.hs
@@ -218,7 +218,7 @@ findType infos fp string sl sc el ec =
Just name ->
case M.lookup name infos of
Nothing ->
- return (Left ("Couldn't guess the module nameIs this module loaded?"))
+ return (Left ("Couldn't guess the module name. Is this module loaded?"))
Just info ->
do let !mty =
resolveType (modinfoSpans info)
diff --git a/src/InteractiveUI.hs b/src/InteractiveUI.hs
index 2012649..8f72385 100644
--- a/src/InteractiveUI.hs
+++ b/src/InteractiveUI.hs
@@ -182,7 +182,6 @@ ghciCommands = [
-- Hugs users are accustomed to :e, so make sure it doesn't overlap
("?", keepGoing help, noCompletion),
("add", keepGoingPaths addModule, completeFilename),
- ("intro", keepGoing intro, noCompletion),
("abandon", keepGoing abandonCmd, noCompletion),
("break", keepGoing breakCmd, completeIdentifier),
("back", keepGoing backCmd, noCompletion),
@@ -207,6 +206,7 @@ ghciCommands = [
("info", keepGoing' (info False), completeIdentifier),
("info!", keepGoing' (info True), completeIdentifier),
("issafe", keepGoing' isSafeCmd, completeModule),
+ ("intro", keepGoing intro, noCompletion),
("kind", keepGoing' (kindOfType False), completeIdentifier),
("kind!", keepGoing' (kindOfType True), completeIdentifier),
("load", keepGoingPaths loadModule_, completeHomeModuleOrFile),