Rob Rix
|
1e26865c65
|
🔥 evaluatePackageWith.
|
2018-06-21 13:19:24 -04:00 |
|
Rob Rix
|
e84c5a5244
|
Align the path variables.
|
2018-06-21 13:06:27 -04:00 |
|
Rob Rix
|
199bc12d86
|
🔥 the ModuleTable state effect.
|
2018-06-21 12:42:25 -04:00 |
|
Rob Rix
|
a2d8397d3e
|
Close over the package here as well.
|
2018-06-21 12:28:13 -04:00 |
|
Rob Rix
|
0bbd0f5448
|
Close over the package.
|
2018-06-21 12:27:00 -04:00 |
|
Rob Rix
|
4a7e54cee5
|
Use the import graph as the load order for the call graph.
|
2018-06-21 12:26:04 -04:00 |
|
Rob Rix
|
c32f8c4e0c
|
Pass the package to runImportGraph.
|
2018-06-21 12:14:36 -04:00 |
|
Rob Rix
|
68474868a7
|
We’re dealing with call-graphs only in this branch.
|
2018-06-21 11:55:25 -04:00 |
|
Rob Rix
|
85d8b57e83
|
List paths using the package paths.
|
2018-06-21 11:49:42 -04:00 |
|
Rob Rix
|
e7cc57a3eb
|
Resolve names against package paths.
|
2018-06-21 11:47:53 -04:00 |
|
Rob Rix
|
dea2241d14
|
Pass module paths to handleModules.
|
2018-06-21 11:45:58 -04:00 |
|
Rob Rix
|
f9d56b846b
|
Add a function computing the set of module paths in a ModuleTable.
|
2018-06-21 11:45:42 -04:00 |
|
Rob Rix
|
b9b52b55da
|
Use the currentModule synonym to clarify intent.
|
2018-06-21 11:02:27 -04:00 |
|
Rob Rix
|
b2a8168059
|
Abbreviate the Load edge construction.
|
2018-06-21 10:50:52 -04:00 |
|
Rob Rix
|
0e265cc4f6
|
Add edges for lookups.
|
2018-06-21 10:50:24 -04:00 |
|
Rob Rix
|
37cd4fb4ad
|
Run import graphs using the new code path.
|
2018-06-21 10:43:11 -04:00 |
|
Rob Rix
|
1cc372ab67
|
Export moduleVertex.
|
2018-06-21 10:42:47 -04:00 |
|
Rob Rix
|
10a7405a0d
|
Graph module info for the import graph.
|
2018-06-20 14:43:38 -04:00 |
|
Rob Rix
|
4e6c11faec
|
Rename graphingModulePaths to graphingModuleInfo.
|
2018-06-20 14:43:14 -04:00 |
|
Rob Rix
|
5b2f0c2c1c
|
Compute a graph of ModuleInfo, which we use to construct actual Modules.
|
2018-06-20 14:39:45 -04:00 |
|
Rob Rix
|
19e35b3f52
|
Derive a Monad instance for Graph.
|
2018-06-20 12:40:33 -04:00 |
|
Rob Rix
|
ffe84b1dd2
|
Derive an Alternative instance for Graph.
|
2018-06-20 12:40:16 -04:00 |
|
Rob Rix
|
d472adab2b
|
Derive an Applicative instance for Graph.
|
2018-06-20 12:40:01 -04:00 |
|
Rob Rix
|
e863802944
|
Add an analysis to graph module paths.
|
2018-06-20 12:38:05 -04:00 |
|
Rob Rix
|
948e4f57b0
|
Fix some indentation.
|
2018-06-20 12:37:58 -04:00 |
|
Rob Rix
|
86d2930455
|
Generalize appendGraph.
|
2018-06-20 12:35:50 -04:00 |
|
Rob Rix
|
70047c3b48
|
Correct a couple of doc comments.
|
2018-06-20 12:32:34 -04:00 |
|
Rob Rix
|
85311cd9a3
|
Sort and group by the out-edge count.
|
2018-06-20 12:28:16 -04:00 |
|
Rob Rix
|
16c21c9c7b
|
Export EdgeCounts.
|
2018-06-20 12:28:09 -04:00 |
|
Rob Rix
|
3b4fc281a9
|
Generalize the group by functionality.
|
2018-06-20 12:27:42 -04:00 |
|
Rob Rix
|
4be53bc553
|
Compute both in- and out-edge counts.
|
2018-06-20 12:24:54 -04:00 |
|
Rob Rix
|
ba921bcdf4
|
Define a Monoid instance for EdgeCounts.
|
2018-06-20 12:21:48 -04:00 |
|
Rob Rix
|
64c0e24cc0
|
Define a Semigroup instance for EdgeCounts.
|
2018-06-20 12:21:12 -04:00 |
|
Rob Rix
|
251cacda79
|
Define an EdgeCounts datatype.
|
2018-06-20 12:20:26 -04:00 |
|
Rob Rix
|
e972abd2e3
|
Factor runFresh out of evaluating.
|
2018-06-20 12:17:46 -04:00 |
|
Rob Rix
|
ce8069d7f6
|
Compute the import graph using the package’s modules.
|
2018-06-20 11:39:25 -04:00 |
|
Rob Rix
|
e0dc9a2c3a
|
Spacing.
|
2018-06-20 10:24:35 -04:00 |
|
Rob Rix
|
4352f1866e
|
Move the graph state after the modules effect.
|
2018-06-20 10:18:31 -04:00 |
|
Rob Rix
|
0f107ca2b1
|
Define a new function to compute import graphs.
|
2018-06-20 10:12:04 -04:00 |
|
Rob Rix
|
bff7700357
|
Simplify extractGraph.
|
2018-06-19 17:18:24 -04:00 |
|
Rob Rix
|
66d9f0b887
|
Redefine runModules' as handleModules.
|
2018-06-19 17:15:59 -04:00 |
|
Rob Rix
|
8c175b52b8
|
Export evaluate.
|
2018-06-19 17:13:28 -04:00 |
|
Rob Rix
|
ef70595e9f
|
Extract a synonym for the classes necessary for analysis.
|
2018-06-19 17:12:02 -04:00 |
|
Rob Rix
|
fefb713194
|
Merge branch 'master' into topologically-sorted-imports
|
2018-06-19 17:05:14 -04:00 |
|
Rick Winfrey
|
946f9cec93
|
Merge pull request #1962 from github/haskell-assignment
Haskell assignment #8
|
2018-06-19 12:31:20 -07:00 |
|
Rob Rix
|
94dd99c223
|
Simplify the wrapping/unwrapping.
|
2018-06-19 15:29:26 -04:00 |
|
Rob Rix
|
e92c689139
|
Factor the Modules effect out of evaluate.
|
2018-06-19 15:24:07 -04:00 |
|
Rick Winfrey
|
845a24649e
|
Merge branch 'master' into haskell-assignment
|
2018-06-19 12:20:16 -07:00 |
|
Rob Rix
|
d7a55fd1c3
|
Factor the Modules effect handler out.
|
2018-06-19 15:13:35 -04:00 |
|
Rob Rix
|
efdd37e684
|
Only evaluate the builtins and prelude once.
|
2018-06-19 15:03:55 -04:00 |
|