Skip to content

Commit

Permalink
#1500 changelog and move to the default group
Browse files Browse the repository at this point in the history
  • Loading branch information
ndmitchell committed Jan 14, 2024
1 parent c17deb5 commit 6f84e5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Changelog for HLint (* = breaking change)

#1500, suggest avoiding NonEmpty.unzip (use Functor.unzip)
* #1544, upgrade to GHC 9.8
#1540, correct Functor law hint, was missing brackets
3.6.1, released 2023-07-03
Expand Down
2 changes: 1 addition & 1 deletion data/hlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@
- hint: {lhs: "\\x y z -> (x, y, z)", rhs: "(,,)"}
- hint: {lhs: "(,b) a", rhs: "(a,b)", side: isAtom a, name: Evaluate}
- hint: {lhs: "(a,) b", rhs: "(a,b)", side: isAtom b, name: Evaluate}
- warn: {lhs: "Data.List.NonEmpty.unzip", rhs: "Data.Functor.unzip", name: "Avoid NonEmpty.unzip", note: "The function is being deprecated"}

# MAYBE

Expand Down Expand Up @@ -1125,7 +1126,6 @@
- warn: {lhs: "[] /= x", rhs: not (null x), name: Use null}
- warn: {lhs: "\"\" /= x", rhs: not (null x), name: Use null}
- warn: {lhs: "maybe []", rhs: foldMap}
- warn: {lhs: "Data.List.NonEmpty.unzip", rhs: "Data.Functor.unzip", name: "Avoid NonEmpty.unzip", note: "Because the function is being deprecated"}

- group:
name: generalise-for-conciseness
Expand Down

0 comments on commit 6f84e5c

Please sign in to comment.