named-text 1.2.1.0 → 1.2.2.0
raw patch · 2 files changed
+16/−7 lines, 2 filesdep ~basePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base
API changes (from Hackage documentation)
- Data.Name: SomeNameStyle :: Named s nameTy -> SomeNameStyle nameTy
+ Data.Name: SomeNameStyle :: Named s nameTy -> SomeNameStyle (nameTy :: Symbol)
- Data.Name: class NameText style => ConvertName style origTy newTy
+ Data.Name: class NameText style => ConvertName (style :: NameStyle) (origTy :: Symbol) (newTy :: Symbol)
- Data.Name: class (NameText inpStyle, IsText (Named outStyle nameTy)) => ConvertNameStyle inpStyle outStyle nameTy
+ Data.Name: class (NameText inpStyle, IsText Named outStyle nameTy) => ConvertNameStyle (inpStyle :: NameStyle) (outStyle :: NameStyle) (nameTy :: Symbol)
- Data.Name: class HasName x style nm | x -> style, x -> nm
+ Data.Name: class HasName x (style :: NameStyle) (nm :: Symbol) | x -> style, x -> nm
- Data.Name: class NameText style
+ Data.Name: class NameText (style :: NameStyle)
- Data.Name: class (KnownNat (AllowedNameType nameOf ntl), DisallowedNameType nameOf ntl ntl) => ValidNames (nameOf :: Symbol) (ntl :: [Symbol])
+ Data.Name: class (KnownNat AllowedNameType nameOf ntl, DisallowedNameType nameOf ntl ntl) => ValidNames (nameOf :: Symbol) (ntl :: [Symbol])
- Data.Name: data SomeNameStyle nameTy
+ Data.Name: data SomeNameStyle (nameTy :: Symbol)
- Data.Name: nameLength :: Named style nm -> Natural
+ Data.Name: nameLength :: forall (style :: NameStyle) (nm :: Symbol). Named style nm -> Natural
- Data.Name: nameOf :: KnownSymbol nameOf => Named style nameOf -> Proxy# nameOf -> String
+ Data.Name: nameOf :: forall (nameOf :: Symbol) (style :: NameStyle). KnownSymbol nameOf => Named style nameOf -> Proxy# nameOf -> String
- Data.Name: nameProxy :: KnownSymbol nameOf => Named style nameOf -> Proxy nameOf
+ Data.Name: nameProxy :: forall (nameOf :: Symbol) (style :: NameStyle). KnownSymbol nameOf => Named style nameOf -> Proxy nameOf
- Data.Name: nameText :: NameText style => Named style nm -> Text
+ Data.Name: nameText :: forall (nm :: Symbol). NameText style => Named style nm -> Text
- Data.Name: nullName :: Named style nm -> Bool
+ Data.Name: nullName :: forall (style :: NameStyle) (nm :: Symbol). Named style nm -> Bool
- Data.Name: rawNamedHTML :: Text -> Named HTMLStyle nameOf
+ Data.Name: rawNamedHTML :: forall (nameOf :: Symbol). Text -> Named HTMLStyle nameOf
- Data.Name: secureNameBypass :: Named Secure nameOf -> Text
+ Data.Name: secureNameBypass :: forall (nameOf :: Symbol). Named Secure nameOf -> Text
- Data.Name: styleProxy :: KnownSymbol style => Named style nameOf -> Proxy style
+ Data.Name: styleProxy :: forall (style :: Symbol) (nameOf :: Symbol). KnownSymbol style => Named style nameOf -> Proxy style
- Data.Name: type CaseInsensitive = "CaseInsensitive" :: NameStyle
+ Data.Name: type CaseInsensitive = "CaseInsensitive"
- Data.Name: type HTMLStyle = "HTML" :: NameStyle
+ Data.Name: type HTMLStyle = "HTML"
- Data.Name: type Secure = "SECURE!" :: NameStyle
+ Data.Name: type Secure = "SECURE!"
- Data.Name: type UTF8 = "UTF8" :: NameStyle
+ Data.Name: type UTF8 = "UTF8"
- Data.Name: viewSomeNameStyle :: (forall (s :: Symbol). (KnownSymbol s, NameText s) => Named s nameTy -> r) -> SomeNameStyle nameTy -> r
+ Data.Name: viewSomeNameStyle :: forall (nameTy :: Symbol) r. (forall (s :: Symbol). (KnownSymbol s, NameText s) => Named s nameTy -> r) -> SomeNameStyle nameTy -> r
- Data.Name.JSON: type JSONStyle = "JSON" :: NameStyle
+ Data.Name.JSON: type JSONStyle = "JSON"
Files
- CHANGELOG.md +5/−1
- named-text.cabal +11/−6
CHANGELOG.md view
@@ -1,8 +1,12 @@ # Revision history for named-text +## 1.2.2.0 -- 2024-10-26++* Allow building with GHC 9.12.+ ## 1.2.1.0 -- 2024-09-19 -* Allow building withn GHC 9.8 and 9.10.+* Allow building with GHC 9.8 and 9.10. ## 1.2.0.0 -- 2024-07-23
named-text.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: named-text-version: 1.2.1.0+version: 1.2.2.0 synopsis: A parameterized named text type and associated functionality. description: .@@ -28,11 +28,16 @@ category: Data build-type: Simple extra-doc-files: CHANGELOG.md-tested-with: GHC == 9.4.4- , GHC == 9.2.4- , GHC == 9.0.2+tested-with: GHC == 9.12+ , GHC == 9.10+ , GHC == 9.8+ , GHC == 9.6+ , GHC == 9.4+ , GHC == 9.2+ , GHC == 9.0 , GHC == 8.10.7- , GHC == 8.8.4+ -- doctest fails under GHC 8.8, and is a dependency of+ -- tasty-checklist, which named-text uses. source-repository head type: git@@ -62,7 +67,7 @@ import: bldspec hs-source-dirs: . default-language: Haskell2010- build-depends: base >= 4.13 && < 4.21+ build-depends: base >= 4.13 && < 4.23 , deepseq , hashable , prettyprinter >= 1.7.0 && < 1.8