commit hlint for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2020-10-23 15:15:44

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new.3463 (New)


Package is "hlint"

Fri Oct 23 15:15:44 2020 rev:4 rq:842779 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2020-09-27 
11:49:11.944006121 +0200
+++ /work/SRC/openSUSE:Factory/.hlint.new.3463/hlint.changes2020-10-23 
15:15:46.338175488 +0200
@@ -1,0 +2,13 @@
+Fri Oct 16 02:00:52 UTC 2020 - psim...@suse.com
+
+- Update hlint to version 3.2.1.
+  3.2.1, released 2020-10-15
+  #1150, remove the Duplicate hint (was slow)
+  #1149, allow within to use module wildcards, e.g. **.Foo
+  #1141, make redundant return highlight just the return
+  #1142, suggest newtype instead of data for data family instances
+  #1138, show allowed fields in YAML error message
+  #1131, fix potential variable capture in zipWith/repeat hint
+  #1129, add hints to use const and \_ x -> x where appropriate
+
+---

Old:

  hlint-3.2.tar.gz

New:

  hlint-3.2.1.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.YOKhi1/_old  2020-10-23 15:15:47.394175997 +0200
+++ /var/tmp/diff_new_pack.YOKhi1/_new  2020-10-23 15:15:47.398175999 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name hlint
 Name:   %{pkg_name}
-Version:3.2
+Version:3.2.1
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause

++ hlint-3.2.tar.gz -> hlint-3.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-3.2/CHANGES.txt new/hlint-3.2.1/CHANGES.txt
--- old/hlint-3.2/CHANGES.txt   2020-09-14 17:49:14.0 +0200
+++ new/hlint-3.2.1/CHANGES.txt 2020-10-15 12:12:40.0 +0200
@@ -1,5 +1,13 @@
 Changelog for HLint (* = breaking change)
 
+3.2.1, released 2020-10-15
+#1150, remove the Duplicate hint (was slow)
+#1149, allow within to use module wildcards, e.g. **.Foo
+#1141, make redundant return highlight just the return
+#1142, suggest newtype instead of data for data family instances
+#1138, show allowed fields in YAML error message
+#1131, fix potential variable capture in zipWith/repeat hint
+#1129, add hints to use const and \_ x -> x where appropriate
 3.2, released 2020-09-14
 #75, make Windows 10 use color terminals
 Make sure the extension removed matches what you called it
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-3.2/README.md new/hlint-3.2.1/README.md
--- old/hlint-3.2/README.md 2020-09-13 12:43:06.0 +0200
+++ new/hlint-3.2.1/README.md   2020-09-19 21:09:47.0 +0200
@@ -2,16 +2,16 @@
 
 HLint is a tool for suggesting possible improvements to Haskell code. These 
suggestions include ideas such as using alternative functions, simplifying code 
and spotting redundancies. This document is structured as follows:
 
-* [Installing and running HLint](#installing-and-running-hlint)
-* [FAQ](#faq)
-* [Customizing the hints](#customizing-the-hints)
-* [Hacking HLint](#hacking-hlint)
+* [Installing and running HLint](./README.md#installing-and-running-hlint)
+* [FAQ](./README.md#faq)
+* [Customizing the hints](./README.md#customizing-the-hints)
+* [Hacking HLint](./README.md#hacking-hlint)
 
 ### Bugs and limitations
 
 Bugs can be reported [on the bug 
tracker](https://github.com/ndmitchell/hlint/issues). There are some issues 
that I do not intend to fix:
 
-* HLint operates on each module at a time in isolation, as a result HLint does 
not know about types or which names are in scope. This decision is deliberate, 
allowing HLint to parallelise and be used incrementally on code that may not 
type-check. If fixities are required to parse the code properly, they [can be 
supplied](#why-doesnt-hlint-know-the-fixity-for-my-custom--operator).
+* HLint operates on each module at a time in isolation, as a result HLint does 
not know about types or which names are in scope. This decision is deliberate, 
allowing HLint to parallelise and be used incrementally on code that may not 
type-check. If fixities are required to parse the code properly, they [can be 
supplied](./README.md#why-doesnt-hlint-know-the-fixity-for-my-custom--operator).
 * The presence of `seq` may cause some hints (i.e. eta-reduction) to change 
the semantics of a program.
 * Some transformed programs may require additional type signatures, 
particularly if the transformations trigger the monomorphism restriction or 
involve rank-2 types.
 * 

commit hlint for openSUSE:Factory

2020-09-27 Thread root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2020-09-27 11:49:08

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new.4249 (New)


Package is "hlint"

Sun Sep 27 11:49:08 2020 rev:3 rq:835957 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2020-08-28 
21:42:17.848907578 +0200
+++ /work/SRC/openSUSE:Factory/.hlint.new.4249/hlint.changes2020-09-27 
11:49:11.944006121 +0200
@@ -1,0 +2,33 @@
+Tue Sep 15 02:37:00 UTC 2020 - psim...@suse.com
+
+- Update hlint to version 3.2.
+  3.2, released 2020-09-14
+  #75, make Windows 10 use color terminals
+  Make sure the extension removed matches what you called it
+  *   #1124, make test into a flag rather than a mode, use --test
+  #1073, add LHS/RHS hints to the summary
+  *   Remove test --proof, --quickcheck and --typecheck, --tempdir
+  *   #1123, delete grep mode
+  #1122, show the --refactor command line with --loud
+  #1120, enable refactoring for use section
+  #1114, enable refactoring for redundant as-pattern
+  #1116, enable refactoring for redundant section
+  #1115, more TVar/TMVar hints
+  #1113, suggest x >>= pure . f becomes x <&> f
+  #, add hint for \x y -> (x,y) to (,), and for (,,)
+  #1108, enable refactoring for redundant variable capture
+  #1105, enable refactoring for more redundant return hints
+  #1103, enable refactoring for Redundant void
+  #1083, add hints for mempty as a function
+  #1097, enable refactoring for more avoid lambda hints
+  #1094, error on `-XFoo` if `Foo` is not a known extension
+  #1090, improve --verbose to print more information
+  #1085, support eta-reduce refactoring
+  #780, ignore dist and dist-newstyle directories
+  #1076, fix -XNoCpp and CPP around LANGUAGE extensions
+  #1077, warn on unused StandaloneKindSignatures
+  #1070, warn on unused ImportQualifiedPost
+  #1067, require apply-refact 0.8.1.0 (fixes lots of bugs)
+  #1064, don't remove OverloadedLists if there is a []
+
+---

Old:

  hlint-3.1.6.tar.gz

New:

  hlint-3.2.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.GNJqiz/_old  2020-09-27 11:49:12.780007022 +0200
+++ /var/tmp/diff_new_pack.GNJqiz/_new  2020-09-27 11:49:12.784007026 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name hlint
 Name:   %{pkg_name}
-Version:3.1.6
+Version:3.2
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause

++ hlint-3.1.6.tar.gz -> hlint-3.2.tar.gz ++
 2297 lines of diff (skipped)




commit hlint for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2020-08-28 21:42:16

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new.3399 (New)


Package is "hlint"

Fri Aug 28 21:42:16 2020 rev:2 rq:829522 version:3.1.6

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2020-07-09 
13:19:19.553261706 +0200
+++ /work/SRC/openSUSE:Factory/.hlint.new.3399/hlint.changes2020-08-28 
21:42:17.848907578 +0200
@@ -1,0 +2,10 @@
+Wed Aug 19 08:18:33 UTC 2020 - Michel Normand 
+
+- Add _constraints with 6GB min disk space for ppc64/ppc64le
+
+---
+Tue Aug 18 10:46:52 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---

New:

  _constraints



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.fO23Oo/_old  2020-08-28 21:42:18.444907797 +0200
+++ /var/tmp/diff_new_pack.fO23Oo/_new  2020-08-28 21:42:18.448907800 +0200
@@ -74,7 +74,7 @@
 This package provides the Haskell %{name} library development files.
 
 %prep
-%setup -q
+%autosetup
 
 %build
 %ghc_lib_build

++ _constraints ++

  

  ppc64
  ppc64le



  6


  





commit hlint for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2017-09-15 22:29:13

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is "hlint"

Fri Sep 15 22:29:13 2017 rev:14 rq:525774 version:2.0.9

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2017-08-31 
21:03:00.916184048 +0200
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2017-09-15 
22:29:15.436826276 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.4vfO3g/_old  2017-09-15 22:29:16.408689370 +0200
+++ /var/tmp/diff_new_pack.4vfO3g/_new  2017-09-15 22:29:16.412688806 +0200
@@ -22,8 +22,8 @@
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{name}
+Group:  Development/Libraries/Haskell
+URL:https://hackage.haskell.org/package/%{name}
 Source0:
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  chrpath
 BuildRequires:  ghc-Cabal-devel
@@ -46,7 +46,6 @@
 BuildRequires:  ghc-unordered-containers-devel
 BuildRequires:  ghc-vector-devel
 BuildRequires:  ghc-yaml-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 HLint gives suggestions on how to improve your source code.
@@ -60,7 +59,7 @@
 
 %package -n ghc-%{name}-devel
 Summary:Haskell %{name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   ghc-%{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -87,7 +86,6 @@
 %ghc_pkg_recache
 
 %files
-%defattr(-,root,root,-)
 %doc LICENSE
 %doc CHANGES.txt README.md
 %{_bindir}/%{name}
@@ -104,11 +102,9 @@
 %{_mandir}/man1/hlint.1%{ext_man}
 
 %files -n ghc-%{name} -f ghc-%{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGES.txt README.md
 
 %changelog




commit hlint for openSUSE:Factory

2017-08-31 Thread root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2017-08-31 21:02:59

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is "hlint"

Thu Aug 31 21:02:59 2017 rev:13 rq:513570 version:2.0.9

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2017-04-13 
10:44:44.324238718 +0200
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2017-08-31 
21:03:00.916184048 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:04:59 UTC 2017 - psim...@suse.com
+
+- Update to version 2.0.9.
+
+---

Old:

  hlint-1.9.41.tar.gz

New:

  hlint-2.0.9.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.HV0CD3/_old  2017-08-31 21:03:02.339984001 +0200
+++ /var/tmp/diff_new_pack.HV0CD3/_new  2017-08-31 21:03:02.379978381 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name hlint
 Name:   %{pkg_name}
-Version:1.9.41
+Version:2.0.9
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause
@@ -28,6 +28,7 @@
 BuildRequires:  chrpath
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-ansi-terminal-devel
+BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-cmdargs-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-cpphs-devel
@@ -39,8 +40,12 @@
 BuildRequires:  ghc-process-devel
 BuildRequires:  ghc-refact-devel
 BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-uniplate-devel
+BuildRequires:  ghc-unordered-containers-devel
+BuildRequires:  ghc-vector-devel
+BuildRequires:  ghc-yaml-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -87,10 +92,8 @@
 %doc CHANGES.txt README.md
 %{_bindir}/%{name}
 %dir %{_datadir}/%{name}-%{version}
-%{_datadir}/%{name}-%{version}/Default.hs
-%{_datadir}/%{name}-%{version}/Generalise.hs
-%{_datadir}/%{name}-%{version}/Dollar.hs
-%{_datadir}/%{name}-%{version}/HLint.hs
+%{_datadir}/%{name}-%{version}/hlint.yaml
+%{_datadir}/%{name}-%{version}/default.yaml
 %{_datadir}/%{name}-%{version}/Test.hs
 %{_datadir}/%{name}-%{version}/report_template.html
 %{_datadir}/%{name}-%{version}/hs-lint.el

++ hlint-1.9.41.tar.gz -> hlint-2.0.9.tar.gz ++
 5292 lines of diff (skipped)




commit hlint for openSUSE:Factory

2017-04-13 Thread root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2017-04-13 10:44:41

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is "hlint"

Thu Apr 13 10:44:41 2017 rev:12 rq:461704 version:1.9.41

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2016-07-21 
08:02:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2017-04-13 
10:44:44.324238718 +0200
@@ -1,0 +2,5 @@
+Sun Feb 12 14:19:41 UTC 2017 - psim...@suse.com
+
+- Update to version 1.9.41 with cabal2obs.
+
+---

Old:

  hlint-1.9.35.tar.gz

New:

  hlint-1.9.41.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.AuzOWf/_old  2017-04-13 10:44:47.223828666 +0200
+++ /var/tmp/diff_new_pack.AuzOWf/_new  2017-04-13 10:44:47.227828101 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hlint
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,13 @@
 
 %global pkg_name hlint
 Name:   %{pkg_name}
-Version:1.9.35
+Version:1.9.41
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{name}
 Source0:
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
-# Begin cabal-rpm deps:
 BuildRequires:  chrpath
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-ansi-terminal-devel
@@ -43,7 +42,6 @@
 BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-uniplate-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 HLint gives suggestions on how to improve your source code.
@@ -69,17 +67,14 @@
 %prep
 %setup -q
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
-%ghc_fix_dynamic_rpath %{pkg_name}
+%ghc_fix_rpath %{pkg_name}-%{version}
 install -D --mode=444 data/hlint.1 %{buildroot}%{_mandir}/man1/hlint.1
 
-
 %post -n ghc-%{name}-devel
 %ghc_pkg_recache
 
@@ -89,7 +84,7 @@
 %files
 %defattr(-,root,root,-)
 %doc LICENSE
-%doc README.md
+%doc CHANGES.txt README.md
 %{_bindir}/%{name}
 %dir %{_datadir}/%{name}-%{version}
 %{_datadir}/%{name}-%{version}/Default.hs
@@ -111,6 +106,6 @@
 
 %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md
+%doc CHANGES.txt README.md
 
 %changelog

++ hlint-1.9.35.tar.gz -> hlint-1.9.41.tar.gz ++
 2030 lines of diff (skipped)




commit hlint for openSUSE:Factory

2016-07-21 Thread h_root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2016-07-21 08:01:59

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is "hlint"

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2016-06-14 
23:08:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2016-07-21 
08:02:00.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:30:59 UTC 2016 - psim...@suse.com
+
+- Update to version 1.9.35 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.CbUt7k/_old  2016-07-21 08:02:01.0 +0200
+++ /var/tmp/diff_new_pack.CbUt7k/_new  2016-07-21 08:02:01.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hlint
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,16 @@
 
 
 %global pkg_name hlint
-# no useful debuginfo for Haskell packages without C sources
-Name:   hlint
+Name:   %{pkg_name}
 Version:1.9.35
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause
-Group:  System/Libraries
-Url:http://hackage.haskell.org/package/%{name}
-Source0:
http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
+Group:  Development/Languages/Other
+Url:https://hackage.haskell.org/package/%{name}
+Source0:
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
+# Begin cabal-rpm deps:
+BuildRequires:  chrpath
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-ansi-terminal-devel
 BuildRequires:  ghc-cmdargs-devel
@@ -42,6 +43,7 @@
 BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-uniplate-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+# End cabal-rpm deps
 
 %description
 HLint gives suggestions on how to improve your source code.
@@ -57,6 +59,9 @@
 Summary:Haskell %{name} library development files
 Group:  Development/Libraries/Other
 Requires:   ghc-%{name} = %{version}-%{release}
+Requires:   ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
 
 %description -n ghc-%{name}-devel
 This package provides the Haskell %{name} library development files.
@@ -64,25 +69,41 @@
 %prep
 %setup -q
 
+
 %build
-%{ghc_lib_build}
+%ghc_lib_build
+
 
 %install
-%{ghc_lib_install}
+%ghc_lib_install
+%ghc_fix_dynamic_rpath %{pkg_name}
 install -D --mode=444 data/hlint.1 %{buildroot}%{_mandir}/man1/hlint.1
 
+
 %post -n ghc-%{name}-devel
-%{ghc_pkg_recache}
+%ghc_pkg_recache
 
 %postun -n ghc-%{name}-devel
-%{ghc_pkg_recache}
+%ghc_pkg_recache
 
 %files
 %defattr(-,root,root,-)
 %doc LICENSE
+%doc README.md
 %{_bindir}/%{name}
-%{_datadir}/%{name}-%{version}
-%{_mandir}/man1/hlint.1.gz
+%dir %{_datadir}/%{name}-%{version}
+%{_datadir}/%{name}-%{version}/Default.hs
+%{_datadir}/%{name}-%{version}/Generalise.hs
+%{_datadir}/%{name}-%{version}/Dollar.hs
+%{_datadir}/%{name}-%{version}/HLint.hs
+%{_datadir}/%{name}-%{version}/Test.hs
+%{_datadir}/%{name}-%{version}/report_template.html
+%{_datadir}/%{name}-%{version}/hs-lint.el
+%{_datadir}/%{name}-%{version}/hlint.1
+%{_datadir}/%{name}-%{version}/hlint.ghci
+%{_datadir}/%{name}-%{version}/HLint_QuickCheck.hs
+%{_datadir}/%{name}-%{version}/HLint_TypeCheck.hs
+%{_mandir}/man1/hlint.1%{ext_man}
 
 %files -n ghc-%{name} -f ghc-%{name}.files
 %defattr(-,root,root,-)
@@ -90,5 +111,6 @@
 
 %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
 %defattr(-,root,root,-)
+%doc README.md
 
 %changelog




commit hlint for openSUSE:Factory

2016-06-14 Thread h_root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2016-06-14 23:08:22

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is "hlint"

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2016-06-07 
23:48:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2016-06-14 
23:08:25.0 +0200
@@ -1,0 +2,8 @@
+Sat Jun 11 11:19:42 UTC 2016 - mimi...@gmail.com
+
+- update to 1.9.35
+* fix parse error reports
+* update hlint.ghci to work with modern GHC
+* Require extra-1.4.9
+
+---

Old:

  hlint-1.9.34.tar.gz

New:

  hlint-1.9.35.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.LVGRBf/_old  2016-06-14 23:08:26.0 +0200
+++ /var/tmp/diff_new_pack.LVGRBf/_new  2016-06-14 23:08:26.0 +0200
@@ -19,7 +19,7 @@
 %global pkg_name hlint
 # no useful debuginfo for Haskell packages without C sources
 Name:   hlint
-Version:1.9.34
+Version:1.9.35
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause

++ hlint-1.9.34.tar.gz -> hlint-1.9.35.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.34/CHANGES.txt new/hlint-1.9.35/CHANGES.txt
--- old/hlint-1.9.34/CHANGES.txt2016-06-01 12:15:21.0 +0200
+++ new/hlint-1.9.35/CHANGES.txt2016-06-10 11:32:08.0 +0200
@@ -1,5 +1,9 @@
 Changelog for HLint
 
+1.9.35
+#245, fix parse error reports
+#243, update hlint.ghci to work with modern GHC
+Require extra-1.4.9
 1.9.34
 #154, fix some incorrect line numbers in literate Haskell
 #161, fix literate Haskell and CPP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.34/README.md new/hlint-1.9.35/README.md
--- old/hlint-1.9.34/README.md  2016-06-01 12:15:21.0 +0200
+++ new/hlint-1.9.35/README.md  2016-06-10 11:32:08.0 +0200
@@ -97,7 +97,7 @@
 
 ### GHCi Integration
 
-GHCi integration has been provided by Gwern Branwen. The integration allows 
running `:hlint` from the GHCi prompt. The script is at 
[hlint.ghci](https://raw.githubusercontent.com/ndmitchell/hlint/master/data/hlint.ghci),
 and a copy is installed locally in the data directory. To use, add the 
contents to your [GHCi startup 
file](http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-dot-files.html).
+GHCi integration has been provided by Gwern Branwen. The integration allows 
running `:hlint` from the GHCi prompt. The script is at 
[hlint.ghci](https://raw.githubusercontent.com/ndmitchell/hlint/master/data/hlint.ghci),
 and a copy is installed locally in the data directory. To use, add the 
contents to your [GHCi startup 
file](https://www.haskell.org/ghc/docs/latest/html/users_guide/ghci.html#the-ghci-and-haskeline-files).
 
 ### Parallel Operation
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.34/data/hlint.ghci 
new/hlint-1.9.35/data/hlint.ghci
--- old/hlint-1.9.34/data/hlint.ghci2016-06-01 12:15:21.0 +0200
+++ new/hlint-1.9.35/data/hlint.ghci2016-06-10 11:32:08.0 +0200
@@ -8,11 +8,11 @@
 [":set -fno-print-bind-result"
 ,"tmp <- System.Directory.getTemporaryDirectory"
 ,"(f,h) <- System.IO.openTempFile tmp \"ghci\""
-,"sto <- GHC.Handle.hDuplicate System.IO.stdout"
-,"GHC.Handle.hDuplicateTo h System.IO.stdout"
+,"sto <- GHC.IO.Handle.hDuplicate System.IO.stdout"
+,"GHC.IO.Handle.hDuplicateTo h System.IO.stdout"
 ,"System.IO.hClose h"
 ,cmd
-,"GHC.Handle.hDuplicateTo sto System.IO.stdout"
+,"GHC.IO.Handle.hDuplicateTo sto System.IO.stdout"
 ,"let readFileNow f = readFile f >>= \\t->Data.List.length t 
`seq` return t"
 ,var++" <- readFileNow f"
 ,"System.Directory.removeFile f"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.34/hlint.cabal new/hlint-1.9.35/hlint.cabal
--- old/hlint-1.9.34/hlint.cabal2016-06-01 12:15:21.0 +0200
+++ new/hlint-1.9.35/hlint.cabal2016-06-10 11:32:08.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.8
 build-type: Simple
 name:   hlint
-version:1.9.34
+version:1.9.35
 license:BSD3
 license-file:   LICENSE
 category:   Development
@@ 

commit hlint for openSUSE:Factory

2016-06-07 Thread h_root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2016-06-07 23:48:15

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is "hlint"

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2016-06-02 
09:38:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2016-06-07 
23:48:19.0 +0200
@@ -1,0 +2,10 @@
+Thu Jun  2 04:55:23 UTC 2016 - mimi...@gmail.com
+
+- update to 1.9.34
+* fix some incorrect line numbers in literate Haskell
+* fix literate Haskell and CPP
+* remove type-incorrect "on" hint
+* warn about join seq
+* suggest <|> instead of mplus in a few cases
+
+---

Old:

  hlint-1.9.32.tar.gz

New:

  hlint-1.9.34.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.dNp2xS/_old  2016-06-07 23:48:20.0 +0200
+++ /var/tmp/diff_new_pack.dNp2xS/_new  2016-06-07 23:48:20.0 +0200
@@ -18,9 +18,8 @@
 
 %global pkg_name hlint
 # no useful debuginfo for Haskell packages without C sources
-%global debug_package %{nil}
 Name:   hlint
-Version:1.9.32
+Version:1.9.34
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause

++ hlint-1.9.32.tar.gz -> hlint-1.9.34.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.32/CHANGES.txt new/hlint-1.9.34/CHANGES.txt
--- old/hlint-1.9.32/CHANGES.txt2016-03-23 11:47:29.0 +0100
+++ new/hlint-1.9.34/CHANGES.txt2016-06-01 12:15:21.0 +0200
@@ -1,5 +1,12 @@
 Changelog for HLint
 
+1.9.34
+#154, fix some incorrect line numbers in literate Haskell
+#161, fix literate Haskell and CPP
+1.9.33
+#240, remove type-incorrect "on" hint
+#234, warn about join seq
+#232, suggest <|> instead of mplus in a few cases
 1.9.32
 #53, require cpphs-1.20.1, has important fixes
 #224, treat select $ specially, as per esqueleto conventions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.32/data/Default.hs 
new/hlint-1.9.34/data/Default.hs
--- old/hlint-1.9.32/data/Default.hs2016-03-23 11:47:29.0 +0100
+++ new/hlint-1.9.34/data/Default.hs2016-06-01 12:15:21.0 +0200
@@ -225,7 +225,6 @@
 warn "Redundant $" = (f $) ==> f
 hint = (\x -> y) ==> const y where _ = isAtom y && not (isWildcard y)
 warn "Redundant flip" = flip f x y ==> f y x where _ = isApp original
-hint = (\a b -> g (f a) (f b)) ==> g `Data.Function.on` f
 warn "Evaluate" = id x ==> x
 warn "Redundant id" = id . x ==> x
 warn "Redundant id" = x . id ==> x
@@ -374,6 +373,7 @@
 -- SEQ
 
 warn "Redundant seq" = x `seq` x ==> x
+warn "Redundant seq" = join seq ==> id
 warn "Redundant $!" = id $! x ==> x
 warn "Redundant seq" = x `seq` y ==> y where _ = isWHNF x
 warn "Redundant $!" = f $! x ==> f x where _ = isWHNF x
@@ -399,7 +399,7 @@
 warn = Nothing /= x  ==>  Data.Maybe.isJust x
 warn = concatMap (maybeToList . f) ==> Data.Maybe.mapMaybe f
 warn = concatMap maybeToList ==> catMaybes
-warn = maybe n Just x ==> Control.Monad.mplus x n
+warn = maybe n Just x ==> x Control.Applicative.<|> n
 hint = (case x of Just a -> a; Nothing -> y)  ==> fromMaybe y x
 warn = (if isNothing x then y else fromJust x) ==> fromMaybe y x
 warn = (if isJust x then fromJust x else y) ==> fromMaybe y x
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.32/hlint.cabal new/hlint-1.9.34/hlint.cabal
--- old/hlint-1.9.32/hlint.cabal2016-03-23 11:47:29.0 +0100
+++ new/hlint-1.9.34/hlint.cabal2016-06-01 12:15:21.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.8
 build-type: Simple
 name:   hlint
-version:1.9.32
+version:1.9.34
 license:BSD3
 license-file:   LICENSE
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.32/src/HSE/All.hs 
new/hlint-1.9.34/src/HSE/All.hs
--- old/hlint-1.9.32/src/HSE/All.hs 2016-03-23 11:47:29.0 +0100
+++ new/hlint-1.9.34/src/HSE/All.hs 2016-06-01 12:15:21.0 +0200
@@ -21,6 +21,8 @@
 import Language.Preprocessor.Cpphs
 import qualified Data.Map as Map
 import System.IO
+import Data.Functor
+import Prelude
 
 
 -- | Created with 'defaultParseFlags', used by 'parseModuleEx'.
@@ -50,7 +52,7 @@
 runCpp :: CppFlags -> FilePath -> String -> IO String
 runCpp NoCpp _ x = return x
 runCpp CppSimple _ x = return $ unlines [if "#" 

commit hlint for openSUSE:Factory

2016-06-02 Thread h_root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2016-06-02 09:38:05

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is "hlint"

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2016-03-26 
15:22:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2016-06-02 
09:38:07.0 +0200
@@ -1,0 +2,9 @@
+Fri Mar 25 08:07:37 UTC 2016 - mimi...@gmail.com
+
+- updateto 1.9.32
+* require cpphs-1.20.1, has important fixes
+* treat select $ specially, as per esqueleto conventions
+* don't modify qualification on substitutions
+* add void/mapM_/forM_ hints
+ 
+---

Old:

  hlint-1.9.31.tar.gz

New:

  hlint-1.9.32.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.eDvk2K/_old  2016-06-02 09:38:08.0 +0200
+++ /var/tmp/diff_new_pack.eDvk2K/_new  2016-06-02 09:38:08.0 +0200
@@ -20,7 +20,7 @@
 # no useful debuginfo for Haskell packages without C sources
 %global debug_package %{nil}
 Name:   hlint
-Version:1.9.31
+Version:1.9.32
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause

++ hlint-1.9.31.tar.gz -> hlint-1.9.32.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.31/CHANGES.txt new/hlint-1.9.32/CHANGES.txt
--- old/hlint-1.9.31/CHANGES.txt2016-03-01 15:24:57.0 +0100
+++ new/hlint-1.9.32/CHANGES.txt2016-03-23 11:47:29.0 +0100
@@ -1,5 +1,10 @@
 Changelog for HLint
 
+1.9.32
+#53, require cpphs-1.20.1, has important fixes
+#224, treat select $ specially, as per esqueleto conventions
+#231, don't modify qualification on substitutions
+#229, add void/mapM_/forM_ hints
 1.9.31
 #222, don't suggest removing ~ if the Strict extension is on
 1.9.30
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.31/README.md new/hlint-1.9.32/README.md
--- old/hlint-1.9.31/README.md  2016-03-01 15:24:57.0 +0100
+++ new/hlint-1.9.32/README.md  2016-03-23 11:47:29.0 +0100
@@ -209,7 +209,7 @@
 
 warn = concat (map f x) ==> concatMap f x
 
-The line can be read as replace `concat (map f x)` with `concatMap f x`. All 
single-letter variables are treated as substitution parameters. For examples of 
more complex hints see the supplied hints file. In general, hints should not be 
given in point free style, as this reduces the power of the matching. Hints may 
start with `error`, `warn` or `suggest` to denote how severe they are by 
default. In addition, `hint` is a synonym for `suggest`. If you come up with 
interesting hints, please submit them for inclusion.
+This line can be read as replace `concat (map f x)` with `concatMap f x`. All 
single-letter variables are treated as substitution parameters. For examples of 
more complex hints see the supplied hints file. This hint will automatically 
match `concat . map f` and `concat $ map f x`, so there is no need to give 
eta-reduced variants of the hints. Hints may start with `error`, `warn` or 
`suggest` to denote how severe they are by default. In addition, `hint` is a 
synonym for `suggest`. If you come up with interesting hints, please submit 
them for inclusion.
 
 You can search for possible hints to add from a source file with the `--find` 
flag, for example:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.31/data/Default.hs 
new/hlint-1.9.32/data/Default.hs
--- old/hlint-1.9.31/data/Default.hs2016-03-01 15:24:57.0 +0100
+++ new/hlint-1.9.32/data/Default.hs2016-03-23 11:47:29.0 +0100
@@ -328,6 +328,12 @@
 warn = a >> forever a ==> forever a where _ = noQuickCheck
 hint = liftM2 id ==> ap where _ = noQuickCheck
 warn = mapM (uncurry f) (zip l m) ==> zipWithM f l m where _ = noQuickCheck
+warn = mapM_ (void . f) ==> mapM_ f
+warn = mapM_ (void f) ==> mapM_ f
+warn = forM_ x (void . f) ==> forM_ x f
+warn = forM_ x (void f) ==> forM_ x f
+warn = void (mapM f x) ==> mapM_ f x
+warn = void (forM x f) ==> forM_ x f
 
 -- STATE MONAD
 
@@ -724,5 +730,8 @@
 main = DTL.concat $ map (`DTL.snoc` '-') [DTL.pack "one", DTL.pack "two", 
DTL.pack "three"]
 import Text.Blaze.Html5.Attributes as A \
 main = A.id (stringValue id')
+import Prelude((==)) \
+import qualified Prelude as P \
+main = P.length xs == 0 -- P.null xs
 
 -}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.31/hlint.cabal 

commit hlint for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2016-03-26 15:22:28

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is "hlint"

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2016-02-29 
09:16:11.0 +0100
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2016-03-26 
15:22:36.0 +0100
@@ -1,0 +2,6 @@
+Wed Mar  2 10:22:56 UTC 2016 - mimi...@gmail.com
+
+- update to 1.9.31
+* don't suggest removing ~ if the Strict extension is on
+
+---

Old:

  hlint-1.9.30.tar.gz

New:

  hlint-1.9.31.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.YBLdH1/_old  2016-03-26 15:22:37.0 +0100
+++ /var/tmp/diff_new_pack.YBLdH1/_new  2016-03-26 15:22:37.0 +0100
@@ -20,7 +20,7 @@
 # no useful debuginfo for Haskell packages without C sources
 %global debug_package %{nil}
 Name:   hlint
-Version:1.9.30
+Version:1.9.31
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause

++ hlint-1.9.30.tar.gz -> hlint-1.9.31.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.30/CHANGES.txt new/hlint-1.9.31/CHANGES.txt
--- old/hlint-1.9.30/CHANGES.txt2016-02-26 21:55:03.0 +0100
+++ new/hlint-1.9.31/CHANGES.txt2016-03-01 15:24:57.0 +0100
@@ -1,5 +1,7 @@
 Changelog for HLint
 
+1.9.31
+#222, don't suggest removing ~ if the Strict extension is on
 1.9.30
 #220, fix incorrect hints of foldr/foldl on a tuple accumulator
 1.9.29
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.30/hlint.cabal new/hlint-1.9.31/hlint.cabal
--- old/hlint-1.9.30/hlint.cabal2016-02-26 21:55:03.0 +0100
+++ new/hlint-1.9.31/hlint.cabal2016-03-01 15:24:57.0 +0100
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.8
 build-type: Simple
 name:   hlint
-version:1.9.30
+version:1.9.31
 license:BSD3
 license-file:   LICENSE
 category:   Development
@@ -46,7 +46,7 @@
 library
 build-depends:
 base == 4.*, process, filepath, directory, containers,
-transformers >= 0.0,
+transformers,
 cpphs >= 1.18.1,
 cmdargs >= 0.10,
 haskell-src-exts >= 1.17 && < 1.18,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.30/src/Hint/Pattern.hs 
new/hlint-1.9.31/src/Hint/Pattern.hs
--- old/hlint-1.9.30/src/Hint/Pattern.hs2016-02-26 21:55:03.0 
+0100
+++ new/hlint-1.9.31/src/Hint/Pattern.hs2016-03-01 15:24:57.0 
+0100
@@ -41,6 +41,8 @@
 foo = 1 where g (Just !True) = Nothing -- True
 foo = 1 where Just !True = Nothing
 foo otherwise = 1 -- _
+foo ~x = y -- x
+{-# LANGUAGE Strict #-} foo ~x = y
 
 -}
 
@@ -58,16 +60,18 @@
 
 
 patternHint :: DeclHint
-patternHint _ _ x =
+patternHint _ modu x =
 concatMap (uncurry hints . swap) (asPattern x) ++
 -- PatBind (used in Let and Where) contains lazy-by-default patterns, 
everything else is strict
-concatMap (patHint False) (universeBi [p | PatBind _ p _ _ <- universe x]) 
++
-concatMap (patHint True) (universeBi $ transform noPatBind x) ++
+concatMap (patHint strict False) (universeBi [p | PatBind _ p _ _ <- 
universe x]) ++
+concatMap (patHint strict True) (universeBi $ transform noPatBind x) ++
 concatMap expHint (universeBi x)
 where
 noPatBind (PatBind a _ b c) = PatBind a (PWildCard a) b c
 noPatBind x = x
 
+strict = "Strict" `elem` [n | LanguagePragma _ ns <- modulePragmas 
modu, Ident _ n <- ns]
+
 
 hints :: (String -> Pattern -> [Refactoring R.SrcSpan] -> Idea) -> Pattern -> 
[Idea]
 hints gen (Pattern l rtype pat (UnGuardedRhs d bod) bind)
@@ -145,12 +149,14 @@
 alt o@(Alt a pat rhs bind) = [(Pattern a R.Match [pat] rhs bind, \msg 
(Pattern _ _ [pat] rhs bind) rs -> suggest msg o (Alt a pat rhs bind) [])]
 
 
-patHint :: Bool -> Pat_ -> [Idea]
-patHint strict o@(PApp _ name args) | length args >= 3 && all isPWildCard args 
=
+-- First Bool is if Strict is a language extension
+-- Second Bool is if this pattern in this context is going to be evaluated 
strictly
+patHint :: Bool -> Bool -> Pat_ -> [Idea]
+patHint lang strict o@(PApp _ name args) | length args >= 3 && all isPWildCard 
args =
   [suggest "Use record patterns" o (PRec an name []) [Replace R.Pattern (toSS 
o) [] (prettyPrint $ PRec an name [])] ]
-patHint strict 

commit hlint for openSUSE:Factory

2016-02-29 Thread h_root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2016-02-29 09:14:40

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is "hlint"

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2016-02-11 
12:37:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2016-02-29 
09:16:11.0 +0100
@@ -1,0 +2,8 @@
+Sun Feb 28 21:42:14 UTC 2016 - mimi...@gmail.com
+
+- update to 1.9.30
+* fix incorrect hints of foldr/foldl on a tuple accumulator
+* add warnings about foldable methods on tuple
+* Put warnings before suggestions in the HTML report
+
+---

Old:

  hlint-1.9.28.tar.gz

New:

  hlint-1.9.30.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.ZKYdIr/_old  2016-02-29 09:16:13.0 +0100
+++ /var/tmp/diff_new_pack.ZKYdIr/_new  2016-02-29 09:16:13.0 +0100
@@ -20,7 +20,7 @@
 # no useful debuginfo for Haskell packages without C sources
 %global debug_package %{nil}
 Name:   hlint
-Version:1.9.28
+Version:1.9.30
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause

++ hlint-1.9.28.tar.gz -> hlint-1.9.30.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.28/CHANGES.txt new/hlint-1.9.30/CHANGES.txt
--- old/hlint-1.9.28/CHANGES.txt2016-02-04 09:55:19.0 +0100
+++ new/hlint-1.9.30/CHANGES.txt2016-02-26 21:55:03.0 +0100
@@ -1,5 +1,10 @@
 Changelog for HLint
 
+1.9.30
+#220, fix incorrect hints of foldr/foldl on a tuple accumulator
+1.9.29
+#219, add warnings about foldable methods on tuple
+Put warnings before suggestions in the HTML report
 1.9.28
 #215, spot newtype deriving inside classes
 1.9.27
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.28/data/Default.hs 
new/hlint-1.9.30/data/Default.hs
--- old/hlint-1.9.28/data/Default.hs2016-02-04 09:55:19.0 +0100
+++ new/hlint-1.9.30/data/Default.hs2016-02-26 21:55:03.0 +0100
@@ -509,6 +509,51 @@
 warn "Evaluate" = zip [] [] ==> []
 warn "Evaluate" = const x y ==> x
 
+-- FOLDABLE + TUPLES
+
+warn "Using foldr on tuple"   = foldr   f z (x,b) ==> f b z
+warn "Using foldr' on tuple"  = foldr'  f z (x,b) ==> f b z
+warn "Using foldl on tuple"   = foldl   f z (x,b) ==> f z b
+warn "Using foldl' on tuple"  = foldl'  f z (x,b) ==> f z b
+warn "Using foldMap on tuple" = foldMap f   (x,b) ==> f b
+warn "Using foldr1 on tuple"  = foldr1  f   (x,b) ==> b
+warn "Using foldl1 on tuple"  = foldl1  f   (x,b) ==> b
+warn "Using elem on tuple"= eleme   (x,b) ==> e == b
+warn "Using fold on tuple"= fold(x,b) ==> b
+warn "Using toList on tuple"  = toList  (x,b) ==> b
+warn "Using maximum on tuple" = maximum (x,b) ==> b
+warn "Using minimum on tuple" = minimum (x,b) ==> b
+warn "Using sum on tuple" = sum (x,b) ==> b
+warn "Using product on tuple" = product (x,b) ==> b
+warn "Using concat on tuple"  = concat  (x,b) ==> b
+warn "Using and on tuple" = and (x,b) ==> b
+warn "Using or on tuple"  = or  (x,b) ==> b
+warn "Using any on tuple" = any f   (x,b) ==> f b
+warn "Using all on tuple" = all f   (x,b) ==> f b
+
+warn "Using foldr on tuple"   = foldr   f z (x,y,b) ==> f b z
+warn "Using foldr' on tuple"  = foldr'  f z (x,y,b) ==> f b z
+warn "Using foldl on tuple"   = foldl   f z (x,y,b) ==> f z b
+warn "Using foldl' on tuple"  = foldl'  f z (x,y,b) ==> f z b
+warn "Using foldMap on tuple" = foldMap f   (x,y,b)   ==> f b
+warn "Using foldr1 on tuple"  = foldr1  f   (x,y,b)   ==> b
+warn "Using foldl1 on tuple"  = foldl1  f   (x,y,b)   ==> b
+warn "Using elem on tuple"= eleme   (x,y,b)   ==> e == b
+warn "Using fold on tuple"= fold(x,y,b)   ==> b
+warn "Using toList on tuple"  = toList  (x,y,b)   ==> b
+warn "Using maximum on tuple" = maximum (x,y,b)   ==> b
+warn "Using minimum on tuple" = minimum (x,y,b)   ==> b
+warn "Using sum on tuple" = sum (x,y,b)   ==> b
+warn "Using product on tuple" = product (x,y,b)   ==> b
+warn "Using concat on tuple"  = concat  (x,y,b)   ==> b
+warn "Using and on tuple" = and (x,y,b)   ==> b
+warn "Using or on tuple"  = or  (x,y,b)   ==> b
+warn "Using any on tuple" = any f   (x,y,b)   ==> f b
+warn "Using all on tuple" = all f   (x,y,b)   ==> f b
+
+warn "Using null on tuple"   = null x   ==> False where _ = isTuple x

commit hlint for openSUSE:Factory

2016-02-11 Thread h_root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2016-02-11 12:37:27

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is "hlint"

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2016-01-08 
15:23:03.0 +0100
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2016-02-11 
12:37:29.0 +0100
@@ -1,0 +2,24 @@
+Thu Feb  4 18:11:55 UTC 2016 - mimi...@gmail.com
+
+- update to 1.9.28
+* spot newtype deriving inside classes
+* avoid recompiling everything twice
+* don't suggest removing bang patterns on let
+* Rename HintStructure to HintPattern
+* add an hlint function to the HLint3 API
+* warn about unused DefaultSignatures extension
+* add -XHaskell2010 and fix -XHaskell98
+* Allow checking even if a function has different arities
+* don't warn on a -> (b -> c), it's sometimes sensible
+* make parse errors severity Error
+* warn on otherwise in a pattern variable
+* eta reduce fun x = f $ x
+* don't ever suggest liftM
+* downgrade built in hints, Error => Warning => Suggestion
+* add a Suggestion level severity
+* make sure you close file handles
+* add hint compare x y == EQ and /=
+* add hint concatMap id ==> concat
+* include refactorings is --json output
+
+---

Old:

  hlint-1.9.26.tar.gz

New:

  hlint-1.9.28.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.2VqGn8/_old  2016-02-11 12:37:30.0 +0100
+++ /var/tmp/diff_new_pack.2VqGn8/_new  2016-02-11 12:37:30.0 +0100
@@ -20,7 +20,7 @@
 # no useful debuginfo for Haskell packages without C sources
 %global debug_package %{nil}
 Name:   hlint
-Version:1.9.26
+Version:1.9.28
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause

++ hlint-1.9.26.tar.gz -> hlint-1.9.28.tar.gz ++
 2538 lines of diff (skipped)




commit hlint for openSUSE:Factory

2016-01-08 Thread h_root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2016-01-08 15:23:02

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is "hlint"

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2015-11-10 
10:02:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2016-01-08 
15:23:03.0 +0100
@@ -1,0 +2,17 @@
+Sun Jan  3 09:52:09 UTC 2016 - mimi...@gmail.com
+
+- update to 1.9.26
+* fix all lint warnings
+* expose argsSettings
+
+---
+Tue Dec 15 14:56:39 UTC 2015 - mimi...@gmail.com
+
+- update to 1.9.25
+* fix stdin output and --refactor on Windows
+* improve spotting redundant brackets around patterns
+* reenable redundant where hint
+* require haskell-src-exts-1.17
+* allow test_ as a prefix
+
+---

Old:

  hlint-1.9.22.tar.gz

New:

  hlint-1.9.26.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.B1siJl/_old  2016-01-08 15:23:04.0 +0100
+++ /var/tmp/diff_new_pack.B1siJl/_new  2016-01-08 15:23:04.0 +0100
@@ -20,7 +20,7 @@
 # no useful debuginfo for Haskell packages without C sources
 %global debug_package %{nil}
 Name:   hlint
-Version:1.9.22
+Version:1.9.26
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause

++ hlint-1.9.22.tar.gz -> hlint-1.9.26.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.22/CHANGES.txt new/hlint-1.9.26/CHANGES.txt
--- old/hlint-1.9.22/CHANGES.txt2015-10-28 13:36:59.0 +0100
+++ new/hlint-1.9.26/CHANGES.txt2016-01-02 22:26:58.0 +0100
@@ -1,5 +1,16 @@
 Changelog for HLint
 
+1.9.26
+#200, fix all lint warnings
+#143, expose argsSettings
+1.9.25
+#192, fix stdin output and --refactor
+1.9.24
+#188, improve spotting redundant brackets around patterns
+#138, reenable redundant where hint
+1.9.23
+#184, require haskell-src-exts-1.17
+#183, allow test_ as a prefix
 1.9.22
 Don't suggest redundant lambda on view patterns
 Add --no-exit-code flag
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.22/LICENSE new/hlint-1.9.26/LICENSE
--- old/hlint-1.9.22/LICENSE2015-10-28 13:36:59.0 +0100
+++ new/hlint-1.9.26/LICENSE2016-01-02 22:26:58.0 +0100
@@ -1,4 +1,4 @@
-Copyright Neil Mitchell 2006-2015.
+Copyright Neil Mitchell 2006-2016.
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.22/README.md new/hlint-1.9.26/README.md
--- old/hlint-1.9.22/README.md  2015-10-28 13:36:59.0 +0100
+++ new/hlint-1.9.26/README.md  2016-01-02 22:26:58.0 +0100
@@ -1,4 +1,5 @@
-# HLint [![Hackage 
version](https://img.shields.io/hackage/v/hlint.svg?style=flat)](https://hackage.haskell.org/package/hlint)
 [![Build 
Status](https://img.shields.io/travis/ndmitchell/hlint.svg?style=flat)](https://travis-ci.org/ndmitchell/hlint)
+# HLint [![Hackage 
version](https://img.shields.io/hackage/v/hlint.svg?label=Hackage)](https://hackage.haskell.org/package/hlint)
 [![Stackage 
version](https://www.stackage.org/package/hlint/badge/lts?label=Stackage)](https://www.stackage.org/package/hlint)
 [![Linux Build 
Status](https://img.shields.io/travis/ndmitchell/hlint.svg?label=Linux%20build)](https://travis-ci.org/ndmitchell/hlint)
 [![Windows Build 
Status](https://img.shields.io/appveyor/ci/ndmitchell/hlint.svg?label=Windows%20build)](https://ci.appveyor.com/project/ndmitchell/hlint)
+
 
 HLint is a tool for suggesting possible improvements to Haskell code. These 
suggestions include ideas such as using alternative functions, simplifying code 
and spotting redundancies. You can try HLint online at 
[lpaste.net](http://lpaste.net/) - suggestions are shown at the bottom. This 
document is structured as follows:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.22/data/Default.hs 
new/hlint-1.9.26/data/Default.hs
--- old/hlint-1.9.22/data/Default.hs2015-10-28 13:36:59.0 +0100
+++ new/hlint-1.9.26/data/Default.hs2016-01-02 22:26:58.0 +0100
@@ -583,7 +583,7 @@
 yes x = case x of {True -> a ; False -> b} -- if x then a else b
 yes x = case x of {False -> a ; _ -> b} -- if x then b else a
 no = const . ok . toResponse $ "saved"
-yes = case x z of Nothing -> 

commit hlint for openSUSE:Factory

2015-11-10 Thread h_root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2015-11-10 10:02:49

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is "hlint"

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2015-06-02 
10:06:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2015-11-10 
10:02:50.0 +0100
@@ -1,0 +2,16 @@
+Tue Nov  3 10:06:54 UTC 2015 - mimi...@gmail.com
+
+- update to 1.9.22
+* Don't suggest redundant lambda on view patterns
+* Add --no-exit-code flag
+* don't suggest string literals
+* disable 'rec' stealing extensions by default
+* add hints for eta-reduced operators
+* integrate a --refactor flag
+* fix the -fglasgow-exts hint
+* better name for moving brackets to eliminate $
+* Extra hints for <$>
+* Remove a redundant fmap hint
+* add =<< rules in addition to >>= 
+
+---

Old:

  hlint-1.9.21.tar.gz

New:

  hlint-1.9.22.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.OpEmcv/_old  2015-11-10 10:02:51.0 +0100
+++ /var/tmp/diff_new_pack.OpEmcv/_new  2015-11-10 10:02:51.0 +0100
@@ -20,7 +20,7 @@
 # no useful debuginfo for Haskell packages without C sources
 %global debug_package %{nil}
 Name:   hlint
-Version:1.9.21
+Version:1.9.22
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause
@@ -38,6 +38,7 @@
 BuildRequires:  ghc-haskell-src-exts-devel
 BuildRequires:  ghc-hscolour-devel
 BuildRequires:  ghc-process-devel
+BuildRequires:  ghc-refact-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-uniplate-devel

++ hlint-1.9.21.tar.gz -> hlint-1.9.22.tar.gz ++
 1808 lines of diff (skipped)




commit hlint for openSUSE:Factory

2015-06-02 Thread h_root
Hello community,

here is the log from the commit of package hlint for openSUSE:Factory checked 
in at 2015-06-02 10:06:18

Comparing /work/SRC/openSUSE:Factory/hlint (Old)
 and  /work/SRC/openSUSE:Factory/.hlint.new (New)


Package is hlint

Changes:

--- /work/SRC/openSUSE:Factory/hlint/hlint.changes  2015-05-21 
08:38:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.hlint.new/hlint.changes 2015-06-02 
10:06:19.0 +0200
@@ -1,0 +2,8 @@
+Sun May 31 20:20:29 UTC 2015 - mimi...@gmail.com
+
+- update to 1.9.21
+* ignore a BOM if it exists
+* don't find files starting with . when searching directories
+* Suggest concat even if the [] is written 
+
+---

Old:

  hlint-1.9.20.tar.gz

New:

  hlint-1.9.21.tar.gz



Other differences:
--
++ hlint.spec ++
--- /var/tmp/diff_new_pack.SaoFhr/_old  2015-06-02 10:06:20.0 +0200
+++ /var/tmp/diff_new_pack.SaoFhr/_new  2015-06-02 10:06:20.0 +0200
@@ -20,7 +20,7 @@
 # no useful debuginfo for Haskell packages without C sources
 %global debug_package %{nil}
 Name:   hlint
-Version:1.9.20
+Version:1.9.21
 Release:0
 Summary:Source code suggestions
 License:BSD-3-Clause

++ hlint-1.9.20.tar.gz - hlint-1.9.21.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.20/CHANGES.txt new/hlint-1.9.21/CHANGES.txt
--- old/hlint-1.9.20/CHANGES.txt2015-04-21 12:27:15.0 +0200
+++ new/hlint-1.9.21/CHANGES.txt2015-05-26 11:47:36.0 +0200
@@ -1,5 +1,9 @@
 Changelog for HLint
 
+1.9.21
+#130, ignore a BOM if it exists
+#128, don't find files starting with . when searching directories
+Suggest concat even if the [] is written 
 1.9.20
 #122, fix the zipWith/repeat hint
 1.9.19
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.20/data/Default.hs 
new/hlint-1.9.21/data/Default.hs
--- old/hlint-1.9.20/data/Default.hs2015-04-21 12:27:15.0 +0200
+++ new/hlint-1.9.21/data/Default.hs2015-05-26 11:47:36.0 +0200
@@ -108,7 +108,9 @@
 -- error = take (length x - 1) x == init x -- not true for x == []
 error = isPrefixOf (reverse x) (reverse y) == isSuffixOf x y
 error = foldr (++) [] == concat
+error = foldr (++)  == concat
 error = foldl (++) [] == concat where note = IncreasesLaziness
+error = foldl (++)  == concat where note = IncreasesLaziness
 error = foldl f (head x) (tail x) == foldl1 f x
 error = foldr f (last x) (init x) == foldr1 f x
 error = span (not . p) == break p
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.20/hlint.cabal new/hlint-1.9.21/hlint.cabal
--- old/hlint-1.9.20/hlint.cabal2015-04-21 12:27:15.0 +0200
+++ new/hlint-1.9.21/hlint.cabal2015-05-26 11:47:36.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  = 1.6
 build-type: Simple
 name:   hlint
-version:1.9.20
+version:1.9.21
 license:BSD3
 license-file:   LICENSE
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.20/src/CmdLine.hs 
new/hlint-1.9.21/src/CmdLine.hs
--- old/hlint-1.9.20/src/CmdLine.hs 2015-04-21 12:27:15.0 +0200
+++ new/hlint-1.9.21/src/CmdLine.hs 2015-05-26 11:47:36.0 +0200
@@ -210,9 +210,10 @@
 getFile (p:ath) exts file = do
 isDir - doesDirectoryExist $ p \ file
 if isDir then do
-let avoid x = let y = takeFileName x in _ `isPrefixOf` y || (. 
`isPrefixOf` y  not (all (== '.') y))
-xs - listFilesInside (return . not . avoid) $ p \ file
-return [x | x - xs, drop 1 (takeExtension x) `elem` exts]
+let avoidDir x = let y = takeFileName x in _ `isPrefixOf` y || (. 
`isPrefixOf` y  not (all (== '.') y))
+avoidFile x = let y = takeFileName x in . `isPrefixOf` y
+xs - listFilesInside (return . not . avoidDir) $ p \ file
+return [x | x - xs, drop 1 (takeExtension x) `elem` exts, not $ 
avoidFile x]
  else do
 isFil - doesFileExist $ p \ file
 if isFil then return [p \ file]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlint-1.9.20/src/HSE/All.hs 
new/hlint-1.9.21/src/HSE/All.hs
--- old/hlint-1.9.20/src/HSE/All.hs 2015-04-21 12:27:15.0 +0200
+++ new/hlint-1.9.21/src/HSE/All.hs 2015-05-26 11:47:36.0 +0200
@@ -67,6 +67,7 @@
 parseModuleEx :: ParseFlags - FilePath - Maybe String - IO (Either 
ParseError (Module SrcSpanInfo, [Comment]))