summaryrefslogtreecommitdiff
path: root/ghc/.ghci
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/.ghci')
-rw-r--r--ghc/.ghci5
1 files changed, 5 insertions, 0 deletions
diff --git a/ghc/.ghci b/ghc/.ghci
new file mode 100644
index 0000000..4e3d705
--- /dev/null
+++ b/ghc/.ghci
@@ -0,0 +1,5 @@
+-- :set prompt "\ESC[34mλ> \ESC[m"
+-- :set prompt "%s λ>"
+:set prompt "\ESC[0;36m\STX%s\n\ESC[0;34m\STXλ> \ESC[m\STX"
+:module +Data.List
+:def hoogle \s -> return $ ":! hoogle --count=15 \"" ++ s ++ "\""