packages feed

pollock 0.1.0.1 → 0.1.0.2

raw patch · 3 files changed

+11/−5 lines, 3 filesdep ~ghc

Dependency ranges changed: ghc

Files

CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for pollock +## 0.1.0.2 -- 2024-10-27++* Internal changes to support GHC 9.12 prerelease.+* Updates the `tested-with` stanza and CI to newest point releases.+ ## 0.1.0.1 -- 2024-05-19  * Internal changes to support GHC 9.10
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.1+version:         0.1.0.2  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-2024 Trevis Elser category:        Development, documentation, library build-type:      Simple-tested-with:     GHC == 9.4.8, GHC == 9.6.5, GHC == 9.8.2, GHC == 9.10.1+tested-with:     GHC == 9.4.8, GHC == 9.6.6, GHC == 9.8.3, GHC == 9.10.1  -- Extra doc files to be distributed with the package, such as a CHANGELOG or a README. extra-doc-files: CHANGELOG.md@@ -73,6 +73,7 @@       -Wbadly-staged-types       -Wdata-kinds-tc       -Wdefaulted-exception-context+      -Wincomplete-record-selectors  flag ci   description:@@ -110,7 +111,7 @@   build-depends: attoparsec  >=0.14.4   && <0.15                , base        >=4.17.1.0 && <5                , containers  >=0.6      && < 0.8-               , ghc         >=9.4      && <9.11+               , ghc         >=9.4      && <9.13                , text        >=2.0      && <2.2    hs-source-dirs:   src
src/Pollock/CompatGHC.hs view
@@ -175,7 +175,7 @@ import GHC.Types.SourceText (StringLiteral, sl_fs) import GHC.Unit.Module.Warnings (WarningTxt (DeprecatedTxt, WarningTxt), Warnings (WarnSome)) -#if __GLASGOW_HASKELL__ == 910+#if __GLASGOW_HASKELL__ >= 910 import GHC (ImportDecl, ideclImportList, ideclAs, ideclName, ImportListInterpretation (Exactly, EverythingBut)) import GHC.Plugins (GlobalRdrEltX, greName) import qualified GHC.Parser.Annotation as Annotation@@ -237,7 +237,7 @@   ) #endif -#if __GLASGOW_HASKELL__ == 910+#if __GLASGOW_HASKELL__ >= 910 -- | Compatibility helper to ease development against multiple version getHeaderInfo :: TcGblEnv -> Maybe HsDocString getHeaderInfo = fmap (hsDocString . unLoc) . fst . TcTypes.tcg_hdr_info