Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-ap-normalize for 
openSUSE:Factory checked in at 2021-06-01 10:39:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-ap-normalize (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-ap-normalize.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-ap-normalize"

Tue Jun  1 10:39:04 2021 rev:3 rq:896210 version:0.1.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-ap-normalize/ghc-ap-normalize.changes        
2020-12-22 11:34:35.709206132 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-ap-normalize.new.1898/ghc-ap-normalize.changes  
    2021-06-01 10:40:41.901143669 +0200
@@ -1,0 +2,8 @@
+Wed May 26 08:46:13 UTC 2021 - [email protected]
+
+- Update ap-normalize to version 0.1.0.1.
+  Upstream added a new change log file in this release. With no
+  previous version to compare against, the automatic updater cannot
+  reliable determine the relevante entries for this release.
+
+-------------------------------------------------------------------

Old:
----
  ap-normalize-0.1.0.0.tar.gz

New:
----
  ap-normalize-0.1.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-ap-normalize.spec ++++++
--- /var/tmp/diff_new_pack.5SmL2d/_old  2021-06-01 10:40:42.277144309 +0200
+++ /var/tmp/diff_new_pack.5SmL2d/_new  2021-06-01 10:40:42.281144316 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-ap-normalize
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global pkg_name ap-normalize
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.1.0.0
+Version:        0.1.0.1
 Release:        0
 Summary:        Self-normalizing applicative expressions
 License:        MIT
@@ -70,6 +70,6 @@
 %license LICENSE
 
 %files devel -f %{name}-devel.files
-%doc README.md
+%doc CHANGELOG.md README.md
 
 %changelog

++++++ ap-normalize-0.1.0.0.tar.gz -> ap-normalize-0.1.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ap-normalize-0.1.0.0/CHANGELOG.md 
new/ap-normalize-0.1.0.1/CHANGELOG.md
--- old/ap-normalize-0.1.0.0/CHANGELOG.md       1970-01-01 01:00:00.000000000 
+0100
+++ new/ap-normalize-0.1.0.1/CHANGELOG.md       2001-09-09 03:46:40.000000000 
+0200
@@ -0,0 +1,10 @@
+Latest version: https://gitlab.com/lysxia/ap-normalize/-/blob/main/CHANGELOG.md
+
+## 0.1.0.1
+
+- No library changes.
+- Fix test suite to build with clang's C preprocessor (default on MacOS).
+
+## 0.1.0.0
+
+- Create ap-normalize.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ap-normalize-0.1.0.0/README.md 
new/ap-normalize-0.1.0.1/README.md
--- old/ap-normalize-0.1.0.0/README.md  2001-09-09 03:46:40.000000000 +0200
+++ new/ap-normalize-0.1.0.1/README.md  2001-09-09 03:46:40.000000000 +0200
@@ -64,6 +64,10 @@
 
 ## Related links
 
+The blog post [*Generic traversals with applicative difference
+lists*](https://blog.poisson.chat/posts/2020-08-05-applicative-difference-lists.html)
+gives an overview of the motivation and core data structure of this library.
+
 The same idea can be applied to monoids and monads.
 They are all applications of Cayley's representation theorem.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ap-normalize-0.1.0.0/ap-normalize.cabal 
new/ap-normalize-0.1.0.1/ap-normalize.cabal
--- old/ap-normalize-0.1.0.0/ap-normalize.cabal 2001-09-09 03:46:40.000000000 
+0200
+++ new/ap-normalize-0.1.0.1/ap-normalize.cabal 2001-09-09 03:46:40.000000000 
+0200
@@ -1,7 +1,7 @@
 cabal-version: >=1.10
 
 name:    ap-normalize
-version: 0.1.0.0
+version: 0.1.0.1
 synopsis: Self-normalizing applicative expressions
 description:
   An applicative functor transformer to normalize expressions using @(\<$>)@,
@@ -17,7 +17,7 @@
 copyright:    Li-yao Xia 2020
 category:     Control
 build-type:   Simple
-extra-source-files:  README.md
+extra-source-files:  CHANGELOG.md, README.md
 
 library
   hs-source-dirs: src
@@ -49,3 +49,9 @@
     inspection-testing,
     transformers,
     ap-normalize
+  if flag(test-with-clang)
+    ghc-options: -pgmP "clang -E -traditional -x c"
+
+flag test-with-clang
+  manual: True
+  default: False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ap-normalize-0.1.0.0/test/assoc.hs 
new/ap-normalize-0.1.0.1/test/assoc.hs
--- old/ap-normalize-0.1.0.0/test/assoc.hs      2001-09-09 03:46:40.000000000 
+0200
+++ new/ap-normalize-0.1.0.1/test/assoc.hs      2001-09-09 03:46:40.000000000 
+0200
@@ -37,11 +37,20 @@
 assoc1 x y z = liftA2 (,,) x y <*> z
 assoc2 x y z = liftA2 (\x (y, z) -> (x, y, z)) x (liftA2 (,) y z)
 
+#ifdef __STDC__
+#define CONCAT(x,y) x##y
+#else
+-- cpp -traditional
+#define CONCAT(x,y) x'_'y
+#endif
+
 #define TEST_ASSOC_(NAME,M,FFF,CSTR) \
-assoc1'NAME, assoc2'NAME :: CSTR M a -> M b -> M c -> M (a, b, c) ; \
-assoc1'NAME = assoc1 ; \
-assoc2'NAME = assoc2 ; \
-inspect $ 'assoc1'NAME FFF 'assoc2'NAME
+CONCAT(assoc1,NAME), CONCAT(assoc2,NAME) :: CSTR M a -> M b -> M c -> M (a, b, 
c) ; \
+CONCAT(assoc1,NAME) = assoc1 ; \
+CONCAT(assoc2,NAME) = assoc2 ; \
+inspect $ {-'-} 'CONCAT(assoc1,NAME) FFF {-'-} 'CONCAT(assoc2,NAME)
+-- Those {-'-} {-'-} trick CPP into tokenizing single-quoted strings
+-- (clang was quite confused in particular).
 
 #define TEST_ASSOC(NAME,M,FFF) TEST_ASSOC_(NAME,M,FFF,)
 

Reply via email to