calligraphy 0.1.6 → 0.1.7
raw patch · 3 files changed
+14/−3 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Calligraphy.Util.LexTree: instance (GHC.Classes.Eq p, GHC.Classes.Eq a) => GHC.Classes.Eq (Calligraphy.Util.LexTree.TreeError p a)
- Calligraphy.Util.LexTree: instance (GHC.Show.Show p, GHC.Show.Show a) => GHC.Show.Show (Calligraphy.Util.LexTree.LexTree p a)
- Calligraphy.Util.LexTree: instance (GHC.Show.Show p, GHC.Show.Show a) => GHC.Show.Show (Calligraphy.Util.LexTree.TreeError p a)
+ Calligraphy.Util.LexTree: instance (GHC.Classes.Eq a, GHC.Classes.Eq p) => GHC.Classes.Eq (Calligraphy.Util.LexTree.TreeError p a)
+ Calligraphy.Util.LexTree: instance (GHC.Show.Show a, GHC.Show.Show p) => GHC.Show.Show (Calligraphy.Util.LexTree.LexTree p a)
+ Calligraphy.Util.LexTree: instance (GHC.Show.Show a, GHC.Show.Show p) => GHC.Show.Show (Calligraphy.Util.LexTree.TreeError p a)
- Calligraphy.Compat.GHC: HForAllTy :: ((Name, a), ArgFlag) -> a -> HieType a
+ Calligraphy.Compat.GHC: HForAllTy :: ((Name, a), ForAllTyFlag) -> a -> HieType a
- Calligraphy.Compat.GHC: data BindType
+ Calligraphy.Compat.GHC: data () => BindType
- Calligraphy.Compat.GHC: data ContextInfo
+ Calligraphy.Compat.GHC: data () => ContextInfo
- Calligraphy.Compat.GHC: data DeclType
+ Calligraphy.Compat.GHC: data () => DeclType
- Calligraphy.Compat.GHC: data HieAST a
+ Calligraphy.Compat.GHC: data () => HieAST a
- Calligraphy.Compat.GHC: data HieFile
+ Calligraphy.Compat.GHC: data () => HieFile
- Calligraphy.Compat.GHC: data HieFileResult
+ Calligraphy.Compat.GHC: data () => HieFileResult
- Calligraphy.Compat.GHC: data HieType a
+ Calligraphy.Compat.GHC: data () => HieType a
- Calligraphy.Compat.GHC: data IdentifierDetails a
+ Calligraphy.Compat.GHC: data () => IdentifierDetails a
- Calligraphy.Compat.GHC: data IfaceTyCon
+ Calligraphy.Compat.GHC: data () => IfaceTyCon
- Calligraphy.Compat.GHC: data ModuleName
+ Calligraphy.Compat.GHC: data () => ModuleName
- Calligraphy.Compat.GHC: data Name
+ Calligraphy.Compat.GHC: data () => Name
- Calligraphy.Compat.GHC: data NameCache
+ Calligraphy.Compat.GHC: data () => NameCache
- Calligraphy.Compat.GHC: data NodeInfo a
+ Calligraphy.Compat.GHC: data () => NodeInfo a
- Calligraphy.Compat.GHC: data RealSrcLoc
+ Calligraphy.Compat.GHC: data () => RealSrcLoc
- Calligraphy.Compat.GHC: data RealSrcSpan
+ Calligraphy.Compat.GHC: data () => RealSrcSpan
- Calligraphy.Compat.GHC: data RecFieldContext
+ Calligraphy.Compat.GHC: data () => RecFieldContext
- Calligraphy.Compat.GHC: data Scope
+ Calligraphy.Compat.GHC: data () => Scope
- Calligraphy.Compat.GHC: initNameCache :: UniqSupply -> [Name] -> NameCache
+ Calligraphy.Compat.GHC: initNameCache :: Char -> [Name] -> IO NameCache
- Calligraphy.Compat.GHC: newtype HieASTs a
+ Calligraphy.Compat.GHC: newtype () => HieASTs a
- Calligraphy.Prelude: class Foldable (t :: TYPE LiftedRep -> Type)
+ Calligraphy.Prelude: class () => Foldable (t :: Type -> Type)
- Calligraphy.Prelude: last :: [a] -> a
+ Calligraphy.Prelude: last :: HasCallStack => [a] -> a
- Calligraphy.Prelude: newtype Ap (f :: k -> Type) (a :: k)
+ Calligraphy.Prelude: newtype () => Ap (f :: k -> Type) (a :: k)
Files
- CHANGELOG.md +4/−0
- calligraphy.cabal +9/−2
- src/Calligraphy/Phases/Parse.hs +1/−1
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog +## 0.1.7+### [Added]+- [#46] GHC 9.8, 9.10 support+ ## 0.1.6 ### [Changed] - Internal change; partially undid the Prelude structure implemented in [#22] and [#27], since it was causing issues (see [#32])
calligraphy.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: calligraphy-version: 0.1.6+version: 0.1.7 license: BSD-3-Clause build-type: Simple license-file: LICENSE@@ -8,7 +8,14 @@ maintainer: Jonas Carpay <jonascarpay@gmail.com> copyright: 2022 Jonas Carpay tested-with:- GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.5 || ==9.6.2+ GHC ==8.8.4+ || ==8.10.7+ || ==9.0.2+ || ==9.2.8+ || ==9.4.8+ || ==9.6.6+ || ==9.8.4+ || ==9.10.1 extra-doc-files: CHANGELOG.md
src/Calligraphy/Phases/Parse.hs view
@@ -102,7 +102,7 @@ rs ghcNameKey :: GHC.Name -> GHCKey-ghcNameKey = GHCKey . GHC.getKey . GHC.nameUnique+ghcNameKey = GHCKey . fromIntegral . GHC.getKey . GHC.nameUnique newtype ParsePhaseDebugInfo = ParsePhaseDebugInfo {modulesLexTrees :: [(String, LexTree Loc RawDecl)]}