packages feed

pollock 0.1.0.3 → 0.1.0.4

raw patch · 3 files changed

+19/−9 lines, 3 filesdep ~ghc

Dependency ranges changed: ghc

Files

CHANGELOG.md view
@@ -1,8 +1,13 @@ # Revision history for pollock +## 0.1.0.4 -- 2026-01-26++* Updates tested-with adding GHC 9.14.1 and bumping to 9.6.7, and 9.10.3+* Updates ghc-options when using the ci flag to account for changes in 9.14+ ## 0.1.0.3 -- 2025-04-06 -* Updates tested-width adding GHC 9.12.2 and bumping to 9.8.4.+* Updates tested-with 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
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.3+version:            0.1.0.4  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.@@ -31,7 +31,7 @@ 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.4, GHC == 9.10.1, GHC == 9.12.2+tested-with:     GHC == 9.4.8, GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.3, GHC == 9.12.2, GHC == 9.14.1 extra-doc-files:   CHANGELOG.md @@ -72,14 +72,19 @@       -Winconsistent-flags   if impl (ghc >= 9.10)     ghc-options:-      -Wdeprecated-type-abstractions-      -Wbadly-staged-types-      -Wdata-kinds-tc       -Wdefaulted-exception-context       -- The following is tempoarily disabled -Wincomplete-record-selectors+  if impl (ghc >= 9.10) && impl (ghc < 9.14)+    ghc-options:+      -Wbadly-staged-types+      -Wdeprecated-type-abstractions+      -Wdata-kinds-tc   if impl (ghc >= 9.12)     ghc-options:       -Wview-pattern-signatures+  if impl (ghc >= 9.14)+    ghc-options:+      -Wbadly-levelled-types  flag ci   description:@@ -117,7 +122,7 @@   build-depends: attoparsec  >=0.14.4   && <0.15                , base        >=4.17.1.0 && <5                , containers  >=0.6      && < 0.9-               , ghc         >=9.4      && <9.13+               , ghc         >=9.4      && <9.15                , text        >=2.0      && <2.2    hs-source-dirs:   src
src/Pollock/CompatGHC.hs view
@@ -251,12 +251,12 @@     WarnSome ws exports ->       let         keepByName :: [(Name,b)] -> [(Name,b)]-        keepByName = filter (\x -> (fst x) `elem` names)+        keepByName = filter (\x -> fst x `elem` names)          keepOnlyKnownNameWarnings = keepByName . mappend exports . M.join . fmap (explodeSnd . Arrow.first (lookupOccName gre))          explodeSnd :: Functor f => (f a, b) -> f (a, b)-        explodeSnd (as,b) = fmap ((flip (,) b)) as+        explodeSnd (as,b) = fmap (flip (,) b) as       in         keepOnlyKnownNameWarnings ws     _ ->