-
Notifications
You must be signed in to change notification settings - Fork 2
/
.ghci
20 lines (17 loc) · 835 Bytes
/
.ghci
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-- import Control.Applicative
-- import Control.Monad
-- import Data.String
-- import Data.Char
-- import Data.List
-- import Data.Monoid
-- import Control.Monad.IO.Class
-- You must set your prompt to a lambda, it's a law.
-- Inferior process in Emacs currently doesn't work with custom prompt.
-- :set prompt "λ> "
:set prompt "\ESC[33mλ>\ESC[m "
:set -fno-warn-unused-imports
:def hlint const . return $ ":! hlint \"src\""
:def hoogle \s -> return $ ":! hoogle --count=15 \"" ++ s ++ "\""
:def pl \s -> return $ ":! pointfree \"" ++ s ++ "\""
-- Enable this for Yesod development
-- :set -XTemplateHaskell -XQuasiQuotes -XOverloadedStrings -XNoImplicitPrelude -XCPP -XMultiParamTypeClasses -XTypeFamilies -XGADTs -XGeneralizedNewtypeDeriving -XFlexibleContexts -XEmptyDataDecls -XNoMonomorphismRestriction -XDeriveDataTypeable