forked from lamdu/lamdu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
weeder.dhall
38 lines (37 loc) · 1.39 KB
/
weeder.dhall
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
{ roots =
[ "\\.main$"
, "^Paths_"
, "\\._[A-Z][a-zA-Z0-9_]+$" -- Prisms
-- used during development
, "^Debug\\."
, "^Lamdu\\.Prelude\\.todo$"
, "^Lamdu\\.Prelude\\.warn$"
, "^Lamdu\\.Version\\._"
, "^Test\\.Lamdu\\.Prelude\\.runTest$"
-- exist with completeness as justification
, "^Lamdu\\.Precedence\\.minNamePrec$"
, "^Revision\\.Deltum\\.Transaction\\.deleteIRef$"
-- shouldn't be dead code! possible bugs/todos:
, "^GUI\\.Momentu\\.Draw\\.FPS\\."
, "^Lamdu\\.Builtins\\.Anchors\\.arrayTid$"
-- weeder false positives: derived instance methods
, "^Test\\.Lamdu\\.Instances\\.\\$"
-- weeder false positives: used in TH
, "^Data\\.Aeson\\.TH\\.Extended\\.derivePrefixed$"
, "^System\\.Process\\.Git\\."
-- weeder false positives: generated by TH and shouldn't really count as dead code
, "^Lamdu\\.Data\\.Tag\\.op"
, "^Lamdu\\.Eval\\.Results\\.error"
, "^Lamdu\\.Sugar\\.Convert\\.Load\\.ir"
, "^Lamdu\\.Sugar\\.Convert\\.Tag\\.nc"
, "^Lamdu\\.Sugar\\.Types\\.Eval\\.evalException"
, "^Lamdu\\.Sugar\\.Types\\.Eval\\.r"
, "^Lamdu\\.Sugar\\.Types\\.GetVar\\.prv"
, "^Lamdu\\.Sugar\\.Types\\.Parts\\.closedCompositeOpen$"
-- Some modules deliberately have extra features
-- as those are created as general-purpose library modules.
, "^Control\\."
, "^Data\\."
]
, type-class-roots = True
}