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 |
|
Rick Winfrey
|
9f8ba1fd58
|
Add some missing assignments to the top level choice
|
2018-06-19 17:50:04 -07:00 |
|
Rick Winfrey
|
c2a3608154
|
Add missing assignments
I discovered a test file in tree-sitter-haskell I overlooked while assigning semantic.
|
2018-06-19 17:37:40 -07:00 |
|
Rick Winfrey
|
1ca5894806
|
Assign wildcards _ in type positions
|
2018-06-19 15:15:53 -07:00 |
|
Rick Winfrey
|
66c28dd142
|
Maintain pragmas and comments occuring before the module within the module
|
2018-06-19 15:15:39 -07:00 |
|
Rick Winfrey
|
f29cfde086
|
Assign pragmas or comments at the beginning of a Haskell file
|
2018-06-19 15:14:54 -07: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 |
|
Patrick Thomson
|
1a09aae96a
|
Merge branch 'master' into import-graph-mk2
|
2018-06-19 16:04:34 -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 |
|
Rick Winfrey
|
50e345afb6
|
Update CPPDirective to take Text not Name
|
2018-06-19 11:55:15 -07:00 |
|
Rick Winfrey
|
04c59ecdab
|
Don't need to fmap and pure
|
2018-06-19 11:55:00 -07:00 |
|
Rob Rix
|
3933b64720
|
Inline withPrelude.
|
2018-06-19 14:54:57 -04:00 |
|
Rob Rix
|
d457248da6
|
Define evaluate as a fold.
|
2018-06-19 14:54:22 -04:00 |
|
Rob Rix
|
f17bfbcf77
|
Close over the proxy.
|
2018-06-19 14:47:39 -04:00 |
|
Rob Rix
|
75d670be2a
|
Merge branch 'topologically-sorted-imports' of https://github.com/github/semantic into topologically-sorted-imports
|
2018-06-19 14:46:58 -04:00 |
|
Rob Rix
|
0fe868b38f
|
Close over the analysis functions.
|
2018-06-19 14:45:38 -04:00 |
|
Rob Rix
|
2df8880e4e
|
Pass the analysis functions to evaluate.
|
2018-06-19 14:42:54 -04:00 |
|
Rob Rix
|
a233b39ae3
|
Define builtins & preludes in evaluate.
|
2018-06-19 13:50:56 -04:00 |
|
Josh Vera
|
cce18d9ecb
|
Merge branch 'master' into topologically-sorted-imports
|
2018-06-19 13:43:01 -04:00 |
|
Josh Vera
|
6024f2aadc
|
Merge pull request #1978 from github/hints-to-avoid-redundant-pure
HLint overhaul
|
2018-06-19 13:42:23 -04:00 |
|
Rob Rix
|
f4186ba266
|
Extract a runInModule helper.
|
2018-06-19 13:38:54 -04:00 |
|
Rob Rix
|
a00d59eeb2
|
Stub in a withPrelude function.
|
2018-06-19 13:38:08 -04:00 |
|
Rob Rix
|
001127b54b
|
Pass evalModule a preludeEnv.
|
2018-06-19 13:37:10 -04:00 |
|
Rob Rix
|
2211013c40
|
withPrelude doesn’t need to take the package.
|
2018-06-19 13:37:02 -04:00 |
|
Rob Rix
|
66808e2817
|
Merge branch 'master' into topologically-sorted-imports
|
2018-06-19 13:03:46 -04:00 |
|
Patrick Thomson
|
84464082bd
|
Merge branch 'master' into import-graph-mk2
|
2018-06-19 13:03:05 -04:00 |
|
Rob Rix
|
23916dcb0c
|
Merge branch 'master' into hints-to-avoid-redundant-pure
|
2018-06-19 13:02:03 -04:00 |
|