packages feed

pollock 0.1.0.2 → 0.1.0.3

raw patch · 4 files changed

+25/−13 lines, 4 filesdep ~containers

Dependency ranges changed: containers

Files

CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for pollock +## 0.1.0.3 -- 2025-04-06++* Updates tested-width adding GHC 9.12.2 and bumping to 9.8.4.+* Bumps upper bounds for containers-0.8+ ## 0.1.0.2 -- 2024-10-27  * Internal changes to support GHC 9.12 prerelease.
pollock.cabal view
@@ -20,7 +20,7 @@ -- PVP summary:     +-+------- breaking API changes --                  | | +----- non-breaking API additions --                  | | | +--- code changes with no API change-version:         0.1.0.2+version:         0.1.0.3  synopsis: Functionality to help examine Haddock information of a module. description: Pollock is functionality to examine various bits of information about documentation as exposed from a Haskell module. This is designed to be used as part of a GHC plugin.@@ -28,16 +28,17 @@ license-file:    LICENSE author:          Trevis Elser maintainer:      trevis@flipstone.com-copyright:       (c) 2023-2024 Trevis Elser+copyright:       (c) 2023-2025 Trevis Elser category:        Development, documentation, library build-type:      Simple-tested-with:     GHC == 9.4.8, GHC == 9.6.6, GHC == 9.8.3, GHC == 9.10.1+tested-with:     GHC == 9.4.8, GHC == 9.6.6, GHC == 9.8.4, GHC == 9.10.1, GHC == 9.12.2+extra-doc-files:+  CHANGELOG.md --- Extra doc files to be distributed with the package, such as a CHANGELOG or a README.-extra-doc-files: CHANGELOG.md+source-repository head+  type: git+  location: git@github.com:telser/pollock.git --- Extra source files to be distributed with the package, such as examples, or a tutorial module.--- extra-source-files:  common warnings   ghc-options: -Wall@@ -51,7 +52,6 @@     -Wmissing-home-modules     -Wmissed-specialisations     -Wmonomorphism-restriction-    -Wcompat-unqualified-imports     -Wpartial-fields     -Wcpp-undef     -Wredundant-constraints@@ -61,6 +61,9 @@     -Wunused-type-patterns     -fwrite-ide-info     -haddock+  if impl (ghc < 9.12)+    ghc-options:+      -Wcompat-unqualified-imports   if impl (ghc >= 9.8)     ghc-options:       -Wincomplete-export-warnings@@ -73,7 +76,10 @@       -Wbadly-staged-types       -Wdata-kinds-tc       -Wdefaulted-exception-context-      -Wincomplete-record-selectors+      -- The following is tempoarily disabled -Wincomplete-record-selectors+  if impl (ghc >= 9.12)+    ghc-options:+      -Wview-pattern-signatures  flag ci   description:@@ -110,7 +116,7 @@    build-depends: attoparsec  >=0.14.4   && <0.15                , base        >=4.17.1.0 && <5-               , containers  >=0.6      && < 0.8+               , containers  >=0.6      && < 0.9                , ghc         >=9.4      && <9.13                , text        >=2.0      && <2.2 
src/Pollock/ModuleInfo/ModuleInfo.hs view
@@ -84,7 +84,6 @@               else numWithWarning moduleInfo         }     else -- With no docs we _only_ had an export, but nothing else.-       moduleInfo         { haddockableExports =             haddockableExports moduleInfo + 1
src/Pollock/ProcessModule.hs view
@@ -152,7 +152,8 @@       ]       -> Documentation.Doc     formatDeprecated =-      format "Deprecated: " . foldMap (CompatGHC.stringLiteralToString . CompatGHC.hsDocString . CompatGHC.unLoc)+      format "Deprecated: "+        . foldMap (CompatGHC.stringLiteralToString . CompatGHC.hsDocString . CompatGHC.unLoc)      formatWarning ::       [ CompatGHC.GenLocated@@ -161,7 +162,8 @@       ]       -> Documentation.Doc     formatWarning =-      format "Warning: " . foldMap (CompatGHC.stringLiteralToString . CompatGHC.hsDocString . CompatGHC.unLoc)+      format "Warning: "+        . foldMap (CompatGHC.stringLiteralToString . CompatGHC.hsDocString . CompatGHC.unLoc)    in     CompatGHC.mapWarningTxtMsg formatDeprecated formatWarning w