print-info 0.1.2.0 → 0.1.3.0
raw patch · 3 files changed
+9/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Data.Print.Info: G :: Info
+ Data.Print.Info: Gf :: String -> InfoFile
+ Data.Print.Info: H :: Info
+ Data.Print.Info: Hf :: String -> InfoFile
Files
- ChangeLog.md +4/−0
- Data/Print/Info.hs +4/−2
- print-info.cabal +1/−1
ChangeLog.md view
@@ -11,3 +11,7 @@ ## 0.1.2.0 -- 2020-09-01 * First version revised B. Added the function fromInfoFile to the Data.Print.Info module.++## 0.1.3.0 -- 2020-09-01++* First version revised C. Added two more contsructors to the Info data type in the Data.Print.Info module.
Data/Print/Info.hs view
@@ -10,11 +10,11 @@ module Data.Print.Info where -- | Is used to define what information is printed. The greater values correspond to more verbose output.-data Info = A | B | C | D | E | F deriving (Eq, Ord)+data Info = A | B | C | D | E | F | G | H deriving (Eq, Ord) -- | The same as 'Info' but is used for cases of printing to the file specified as a 'String' parameter with the corresponding first capital letter -- analogue of 'Info' data type.-data InfoFile = Af String | Bf String | Cf String | Df String | Ef String | Ff String deriving (Eq, Ord)+data InfoFile = Af String | Bf String | Cf String | Df String | Ef String | Ff String | Gf String | Hf String deriving (Eq, Ord) fromInfoFile :: InfoFile -> String fromInfoFile (Af xs) = xs@@ -23,6 +23,8 @@ fromInfoFile (Df xs) = xs fromInfoFile (Ef xs) = xs fromInfoFile (Ff xs) = xs+fromInfoFile (Gf xs) = xs+fromInfoFile (Hf xs) = xs data InfoG a b = I1 a | I2 b deriving Eq
print-info.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: print-info-version: 0.1.2.0+version: 0.1.3.0 synopsis: Can be used to coordinate the printing output. description: Can be used to coordinate the printing output. homepage: https://hackage.haskell.org/package/print-info