summaryrefslogtreecommitdiff
path: root/.ghci
blob: 2629ab7668671efee4b2c6799313c727d0583dbd (plain)
1
2
3
4
5
6
:set -XOverloadedStrings
: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)