ascii-superset 1.0.0.2 → 1.0.0.4
raw patch · 5 files changed
+9/−7 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ASCII/Isomorphism.hs +1/−1
- ASCII/Lift.hs +4/−2
- ASCII/Superset.hs +1/−1
- ascii-superset.cabal +2/−2
- license.txt +1/−1
ASCII/Isomorphism.hs view
@@ -17,7 +17,7 @@ toCharList :: string -> [Char] mapChars :: (Char -> Char) -> string -> string --- | 'Char' is trivially isomorphic to itself.+-- | 'Char' is trivially isomorphic to itself. (This instance is uninteresting.) instance CharIso Char where toChar = id
ASCII/Lift.hs view
@@ -9,6 +9,8 @@ import qualified ASCII.Refinement as R import qualified ASCII.Superset as S +import qualified Prelude+ {- $setup >>> import ASCII.Char (Char (..))@@ -38,10 +40,10 @@ instance Lift (ASCII superset) superset where lift = R.lift --- | An ASCII 'Char' may be 'lift'ed into any larger character set (a 'CharSuperset').+-- | An ASCII 'Char' may be 'lift'ed into any larger character set (a 'CharSuperset'); for example, 'lift' can convert an ASCII character into a value of the standard 'Prelude.Char' type in "Prelude". instance CharSuperset superset => Lift Char superset where lift = S.fromChar --- | An ASCII 'Char' list may be 'lift'ed into a string of any larger character set (a 'StringSuperset').+-- | An ASCII 'Char' list may be 'lift'ed into a string of any larger character set (a 'StringSuperset'); for example, 'lift' can convert a list of ASCII characters into a value of the standard 'Prelude.String' type in "Prelude". instance StringSuperset superset => Lift [Char] superset where lift = S.fromCharList
ASCII/Superset.hs view
@@ -87,7 +87,7 @@ --- Instances --- --- | 'ASCII.Char' is trivially a superset of itself.+-- | 'ASCII.Char' is trivially a superset of itself. (This instance is uninteresting.) instance CharSuperset ASCII.Char where
ascii-superset.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.0 name: ascii-superset-version: 1.0.0.2+version: 1.0.0.4 synopsis: Representing ASCII with refined supersets category: Data, Text @@ -34,7 +34,7 @@ default-extensions: GeneralizedNewtypeDeriving default-extensions: DeriveDataTypeable default-extensions: DeriveGeneric- ghc-options: -Wall+ ghc-options: -Wall -fno-warn-unused-imports build-depends: base >= 4.11 && < 4.15 build-depends: bytestring >= 0.10 && < 0.11
license.txt view
@@ -1,4 +1,4 @@-Copyright 2020 Typeclass Consulting LLC+Copyright 2021 Mission Valley Software LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.