1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
Commit Graph

23493 Commits

Author SHA1 Message Date
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
Rob Rix
23916dcb0c Merge branch 'master' into hints-to-avoid-redundant-pure 2018-06-19 13:02:03 -04:00
Josh Vera
6eeaf30f13 Merge pull request #1979 from github/move-proto3-into-grpc-haskell
Move proto3 into grpc haskell
2018-06-19 13:00:34 -04:00
Rob Rix
5bfa7f6326 Simplify the topological sort by returning the map. 2018-06-19 12:57:59 -04:00
Rob Rix
3451a0c264 Get the vertices from the map. 2018-06-19 12:49:59 -04:00
Rob Rix
1bdb613edd Vertices are initially zero, rather than unset. 2018-06-19 12:49:51 -04:00
Rob Rix
5a9ea5e61b Add a convenience to compute the keys in a Monoidal Map. 2018-06-19 12:47:11 -04:00
Rob Rix
345eb88ef9 Merge branch 'master' into topologically-sorted-imports 2018-06-19 10:57:38 -04:00
Rob Rix
60f9569e59 Tweak the pinned SHAs. 2018-06-19 10:39:48 -04:00
Rob Rix
81fe05d716 Remove our proto3-* submodules. 2018-06-19 10:35:47 -04:00
Rob Rix
4988326114 Bump grpc-haskell for proto3-* as submodules. 2018-06-19 10:34:21 -04:00
Rob Rix
9440cb2746 Bump grpc-haskell to https://github.com/joshvera/gRPC-haskell/pull/7. 2018-06-19 10:32:03 -04:00
Rob Rix
1a4a91883e Bump grpc-haskell for https://github.com/joshvera/gRPC-haskell/pull/7.
Trying to fix build breakage.
2018-06-19 10:18:02 -04:00
Rob Rix
890bb390cd Correct the method name. 2018-06-19 10:06:22 -04:00
Rob Rix
b362ec2e7f 🔥 some pointless notes. 2018-06-19 09:56:05 -04:00
Rob Rix
211110c0f3 Annotate attemptUnsafeArithmetic explicitly. 2018-06-19 09:55:55 -04:00
Rob Rix
85c91ab693 We configure language extensions in .hlint.yaml now. 2018-06-19 09:47:08 -04:00
Rob Rix
6de4f61652 Only fail for warnings/errors. 2018-06-19 09:46:01 -04:00
Rob Rix
9b5067e9e9 Spacing. 2018-06-19 09:43:07 -04:00
Rob Rix
a5ec7f73bf Actually include the error call. 2018-06-19 09:42:11 -04:00
Rob Rix
3b362ee27d Change the severity of the eta reduce hint. 2018-06-19 09:40:35 -04:00
Rob Rix
7103468fc6 🔥 the old HLint.hs file. 2018-06-19 09:38:21 -04:00
Rob Rix
cc530ee5c0 Add a helper function with an error call instead of fromJust. 2018-06-19 09:38:12 -04:00
Rob Rix
8f373155a8 Apply the $ hints. 2018-06-19 09:34:52 -04:00
Rob Rix
e8f49454b8 Missed another ++. 2018-06-19 09:34:17 -04:00
Rob Rix
d1f63ed9d2 Missed a ++. 2018-06-19 09:33:33 -04:00
Rob Rix
c95c7b5500 Apply all the ++/<> hints. 2018-06-19 09:32:28 -04:00
Rob Rix
992cffa892 Note why we ignore the fmap rule. 2018-06-19 09:30:46 -04:00
Rob Rix
c31e8ca97d Move the TODO onto the same line. 2018-06-19 09:30:25 -04:00
Rob Rix
caf667e1d6 Add the redundant pure hints. 2018-06-19 09:30:05 -04:00
Rob Rix
ea7add7c61 Name the maybeM rule. 2018-06-19 09:29:18 -04:00
Rob Rix
c85d259714 These don’t have to be quoted. 2018-06-19 09:29:13 -04:00
Rob Rix
3a9ed7cd9d Add the maybeM hint. 2018-06-19 09:27:58 -04:00
Rob Rix
276257c71e Restrict fromJust. 2018-06-19 09:27:05 -04:00
Rob Rix
27851eb236 Restrict head/tail/init/last. 2018-06-19 09:26:36 -04:00