forked from lamdu/lamdu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
weeder.dhall
39 lines (38 loc) · 1.45 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
39
{ roots =
[ "\\.main$"
, "^Paths_"
, "\\._[A-Z][a-zA-Z0-9_]+$" -- Prisms
-- used during development
, "^Lamdu\\.Prelude\\.todo$"
, "^Lamdu\\.Prelude\\.warn$"
, "^Lamdu\\.Prelude\\.trace"
, "^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\\.Types\\.Eval\\.evalException"
, "^Lamdu\\.Sugar\\.Types\\.Eval\\.r"
, "^Lamdu\\.Sugar\\.Types\\.GetVar\\.prv"
, "^Lamdu\\.Sugar\\.Types\\.Parts\\.closedCompositeOpen$"
, "^Lamdu\\.Sugar\\.Types\\.Parts\\.openCompositeClose$"
-- Some modules deliberately have extra features
-- as those are created as general-purpose library modules.
, "^Control\\."
, "^Data\\."
, "^GUI\\.Momentu\\."
]
, type-class-roots = True
}