Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-syb for openSUSE:Factory checked in at 2026-06-10 16:06:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-syb (Old) and /work/SRC/openSUSE:Factory/.ghc-syb.new.2375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-syb" Wed Jun 10 16:06:50 2026 rev:28 rq:1358444 version:0.7.4 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-syb/ghc-syb.changes 2025-08-25 20:38:44.661715380 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-syb.new.2375/ghc-syb.changes 2026-06-10 16:10:45.364485884 +0200 @@ -1,0 +2,9 @@ +Sat Mar 7 17:18:44 UTC 2026 - Peter Simons <[email protected]> + +- Update syb to version 0.7.4. + # 0.7.4 + + - Export new function `gshowsF` that allows more flexibility than `gshows`. + It allows users to override how some children types should be printed. (https://github.com/dreixel/syb/pull/55) + +------------------------------------------------------------------- Old: ---- syb-0.7.3.tar.gz New: ---- syb-0.7.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-syb.spec ++++++ --- /var/tmp/diff_new_pack.SMbD7b/_old 2026-06-10 16:10:47.588578051 +0200 +++ /var/tmp/diff_new_pack.SMbD7b/_new 2026-06-10 16:10:47.596578383 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-syb # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.7.3 +Version: 0.7.4 Release: 0 Summary: Scrap Your Boilerplate License: BSD-3-Clause ++++++ syb-0.7.3.tar.gz -> syb-0.7.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/syb-0.7.3/Changelog.md new/syb-0.7.4/Changelog.md --- old/syb-0.7.3/Changelog.md 2001-09-09 03:46:40.000000000 +0200 +++ new/syb-0.7.4/Changelog.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,8 @@ +# 0.7.4 + +- Export new function `gshowsF` that allows more flexibility than `gshows`. + It allows users to override how some children types should be printed. (https://github.com/dreixel/syb/pull/55) + # 0.7.3 - Fix `gread` to recognize negative numbers (https://github.com/dreixel/syb/issues/13) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/syb-0.7.3/README.md new/syb-0.7.4/README.md --- old/syb-0.7.3/README.md 2001-09-09 03:46:40.000000000 +0200 +++ new/syb-0.7.4/README.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,17 +1,17 @@ syb: Scrap Your Boilerplate! ================================================================================ -Scrap Your Boilerplate (SYB) is a library for generic programming in Haskell. It -is supported since the GHC >= 6.0 implementation of Haskell. Using this -approach, you can write generic functions such as traversal schemes (e.g., -everywhere and everything), as well as generic read, generic show and generic -equality (i.e., gread, gshow, and geq). This approach is based on just a few -primitives for type-safe cast and processing constructor applications. +Scrap Your Boilerplate (SYB) is a library for generic programming in Haskell. It +is supported since the GHC >= 6.0 implementation of Haskell. Using this +approach, you can write generic functions such as traversal schemes (e.g., +everywhere and everything), as well as generic read, generic show and generic +equality (i.e., gread, gshow, and geq). This approach is based on just a few +primitives for type-safe cast and processing constructor applications. It was originally developed by Ralf Lämmel and Simon Peyton Jones. Since then, -many people have contributed with research relating to SYB or its applications. +many people have contributed with research relating to SYB or its applications. -More information is available on the webpage: +More information is available on the webpage: http://www.cs.uu.nl/wiki/GenericProgramming/SYB @@ -26,9 +26,8 @@ Requirements ------------ -* GHC 6.10.1 or later -* Cabal 1.6 or later - +* GHC 8.0 or later +* Cabal 3.0 or later Bugs & Support -------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/syb-0.7.3/src/Data/Generics/Text.hs new/syb-0.7.4/src/Data/Generics/Text.hs --- old/syb-0.7.3/src/Data/Generics/Text.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/syb-0.7.4/src/Data/Generics/Text.hs 2001-09-09 03:46:40.000000000 +0200 @@ -1,15 +1,16 @@ {-# LANGUAGE CPP #-} +{-# LANGUAGE RankNTypes #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Generics.Text -- Copyright : (c) The University of Glasgow, CWI 2001--2003 -- License : BSD-style (see the LICENSE file) --- +-- -- Maintainer : [email protected] -- Stability : experimental -- Portability : non-portable (uses Data.Generics.Basics) -- --- \"Scrap your boilerplate\" --- Generic programming in Haskell +-- \"Scrap your boilerplate\" --- Generic programming in Haskell -- See <http://www.cs.uu.nl/wiki/GenericProgramming/SYB>. The present module -- provides generic operations for text serialisation of terms. -- @@ -18,7 +19,7 @@ module Data.Generics.Text ( -- * Generic show - gshow, gshows, + gshow, gshows, gshowsF, -- * Generic read gread @@ -52,14 +53,17 @@ -- This is a prefix-show using surrounding "(" and ")", -- where we recurse into subterms with gmapQ. -gshows = ( \t -> +gshows = gshowsF gshows + +-- | Generic 'shows' but allowing the user to change cases. +gshowsF :: Data b => (forall a. Data a => a -> ShowS) -> b -> ShowS +gshowsF fun = ( \t -> showChar '(' . (showString . showConstr . toConstr $ t) - . (foldr (.) id . gmapQ ((showChar ' ' .) . gshows) $ t) + . (foldr (.) id . gmapQ ((showChar ' ' .) . fun) $ t) . showChar ')' ) `extQ` (shows :: String -> ShowS) - -- | Generic 'reads' (not 'read'): an alternative to @deriving@ 'Read'. -- -- @since 0.1.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/syb-0.7.3/syb.cabal new/syb-0.7.4/syb.cabal --- old/syb-0.7.3/syb.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/syb-0.7.4/syb.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,5 @@ name: syb -version: 0.7.3 +version: 0.7.4 license: BSD3 license-file: LICENSE author: Ralf Lammel, Simon Peyton Jones, Jose Pedro Magalhaes @@ -20,6 +20,7 @@ build-type: Simple cabal-version: >= 1.10 tested-with: + GHC == 9.14 GHC == 9.12 GHC == 9.10 GHC == 9.8
