Accepting request 1127143 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/1127143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hlint?expand=0&rev=13
This commit is contained in:
Ana Guerrero 2023-11-23 20:40:18 +00:00 committed by Git OBS Bridge
commit d27dcb4e1a
4 changed files with 42 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98bd120a10a086c17d6bf1176a510dc12b36581e5a901f1e024555bb3ccead4f
size 173976

3
hlint-3.6.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3280132bb3c1b39faa4c8c6a937479d4622484914da6a227a2ce4b15a76741fd
size 182072

View File

@ -1,3 +1,41 @@
-------------------------------------------------------------------
Fri Jul 7 10:00:52 UTC 2023 - Peter Simons <psimons@suse.com>
- Update hlint to version 3.6.1.
3.6.1, released 2023-07-03
Attempt to make a binary release
3.6, released 2023-06-26
#1522, define __GLASGOW_HASKELL__ for cmdCpp
#1519, don't suggest removing brackets that result in a parse error
#1512, add hints to convert for [1..n] to replicateM n
#1430, add ignore-suggestions flag
#1517, support NO_COLOR
#1505, don't suggest redundant brackets around constraints
#1478, Fix no warn on (x.y) by treating x.y as atom
#1481, more hints about concat/concatMap
#1485, add more hints about using a Functor on a literal tuple
#1479, add specialised not hints for notElem/notNull
#1437, don't add/remove Monad constraints in replacements
#1475, rules for (elem False) and (notElem True)
#1476, generalise map-consuming rules from lists to Foldables/Traversables
#1480, add hints about notElem and notNull
#1482, support SARIF output
#1470, drop support for GHC 9.0
* #1470, move to GHC 9.6 parser
#1449, add some more generalize hints that suggest fmap instead of map
Never suggest concatForM_, because it doesn't exist
#1467, and groups for warning on partial functions
#1465, improve the timing information with -v flag
#1454, filter Just . map f ==> map Just . mapMaybe f
#1452, add more evaluate rules, e.g. fromJust (Just x) ==> x
#1488, add <$>/<&> hints for Either
#1447, make <$> hints also work on <&> (dualized)
#1450, suggest nub/sort ==> nubSort with the extra hints
#1451, isJust y && (x == fromJust y) ==> Just x == y
#578, don't suggest numeric underscores for < 5 digits
#1428, rename "Use map" hints that introduce tuple sections
#1424, don't suggest sortOn; suggest avoiding `reverse . sort`
-------------------------------------------------------------------
Thu Mar 30 17:09:18 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -19,7 +19,7 @@
%global pkg_name hlint
%global pkgver %{pkg_name}-%{version}
Name: %{pkg_name}
Version: 3.5
Version: 3.6.1
Release: 0
Summary: Source code suggestions
License: BSD-3-Clause