-
Notifications
You must be signed in to change notification settings - Fork 11
/
.ghci
56 lines (50 loc) · 1.29 KB
/
.ghci
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import Control.Applicative
import Control.Monad
import Control.Concurrent
import Control.Parallel
import Data.String
import Data.Char
import Data.List
import Data.Monoid
import Control.Monad.IO.Class
:set prompt "λ> "
: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 ++ "\""
:set +s
:set +t
:m + Data.List
:m + Control.Arrow
:m + Control.Applicative
:m + Control.Monad
:m + Data.List.Split
:m + Data.Maybe
:m + Data.Function
:m + Data.Monoid
:m + Text.Printf
:set -fwarn-alternative-layout-rule-transitional
:set -fwarn-deprecated-flags
:set -fwarn-deprecations
:set -fwarn-dodgy-exports
:set -fwarn-dodgy-foreign-imports
:set -fwarn-dodgy-imports
:set -fwarn-duplicate-exports
:set -fwarn-hi-shadowing
:set -fwarn-incomplete-patterns
:set -fwarn-incomplete-record-updates
:set -fwarn-missing-fields
:set -fwarn-missing-methods
:set -fwarn-monomorphism-restriction
:set -fwarn-name-shadowing
:set -fwarn-overlapping-patterns
:set -fwarn-tabs
:set -fwarn-unrecognised-pragmas
:set -fwarn-unused-binds
:set -fwarn-unused-imports
:set -fwarn-unused-matches
:set -fwarn-warnings-deprecations
:set -XUnicodeSyntax
:set -XOverloadedStrings
:set -XRankNTypes
:set -XScopedTypeVariables