summaryrefslogtreecommitdiff
path: root/.ghci
diff options
context:
space:
mode:
Diffstat (limited to '.ghci')
-rw-r--r--.ghci2
1 files changed, 2 insertions, 0 deletions
diff --git a/.ghci b/.ghci
index 08406ce..2629ab7 100644
--- a/.ghci
+++ b/.ghci
@@ -2,3 +2,5 @@
:set prompt "λ "
:set prompt-cont "| "
:set -Wall
+-- ':iq Module M' -> 'import qualified Module as M'
+:def iq (\arg -> let [x, y] = Prelude.words arg in return $ "import qualified " ++ x ++ " as " ++ y)