Skip to content

Commit d71f5ea

Browse files
authored
Update HLint (#2359)
1 parent 9f63e81 commit d71f5ea

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

kore/src/Kore/Exec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ initializeProver definitionModule specModule maybeTrustedModule = do
763763
return result
764764

765765
trustedClaims :: [SomeClaim]
766-
trustedClaims = fmap extractClaims maybeTrustedModule & fromMaybe []
766+
trustedClaims = maybe [] extractClaims maybeTrustedModule
767767

768768
mapM_ logChangedClaim changedSpecClaims
769769

kore/src/Kore/Step/RewriteStep.hs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,7 @@ finalizeRulesParallel toRule finalizeApplied initialVariables initial unifiedRul
236236
remainders <-
237237
applyRemainder initial remainder
238238
& Logic.observeAllT
239-
& (fmap . fmap) assertRemainderPattern
240-
& fmap OrPattern.fromPatterns
239+
& fmap (fmap assertRemainderPattern >>> OrPattern.fromPatterns)
241240
return Step.Results
242241
{ results = Seq.fromList results
243242
, remainders
@@ -257,8 +256,7 @@ finalizeSequence toRule finalizeApplied initialVariables initial unifiedRules =
257256
remainders <-
258257
applyRemainder initial remainder
259258
& Logic.observeAllT
260-
& (fmap . fmap) assertRemainderPattern
261-
& fmap OrPattern.fromPatterns
259+
& fmap (fmap assertRemainderPattern >>> OrPattern.fromPatterns)
262260
return Step.Results
263261
{ results = Seq.fromList $ fold results
264262
, remainders

nix/sources.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
2424
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
2525
},
2626
"hlint": {
27-
"branch": "v3.2",
27+
"branch": "v3.2.7",
2828
"description": "Haskell source code suggestions",
2929
"homepage": null,
3030
"owner": "ndmitchell",
3131
"repo": "hlint",
32-
"rev": "b2fd3a720bba011bd77ed15bc4141b8fb996566e",
33-
"sha256": "1h2vi271y3c266b1hp1d18af8kr6nw6g1ys2k8v1cw5bjnm0rf7r",
32+
"rev": "c7354e473c7d09213c8adc3dc94bf50a6eb4a42d",
33+
"sha256": "0jx699s890134swi71n4majbk9qbvslhmvn7cv3ndcni34chkbzb",
3434
"type": "tarball",
35-
"url": "https://github.com/ndmitchell/hlint/archive/b2fd3a720bba011bd77ed15bc4141b8fb996566e.tar.gz",
35+
"url": "https://github.com/ndmitchell/hlint/archive/c7354e473c7d09213c8adc3dc94bf50a6eb4a42d.tar.gz",
3636
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz",
37-
"version": "v3.2"
37+
"version": "v3.2.7"
3838
},
3939
"hpack": {
4040
"branch": "0.33.0",

0 commit comments

Comments
 (0)