packages feed

print-info 0.1.1.0 → 0.1.2.0

raw patch · 3 files changed

+14/−1 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Data.Print.Info: fromInfoFile :: InfoFile -> String

Files

ChangeLog.md view
@@ -7,3 +7,7 @@ ## 0.1.1.0 -- 2020-09-01  * First version revised A. Added the functions isI1 and isI2 to the Data.Print.Info module.++## 0.1.2.0 -- 2020-09-01++* First version revised B. Added the function fromInfoFile to the Data.Print.Info module.
Data/Print/Info.hs view
@@ -16,6 +16,14 @@ -- analogue of 'Info' data type. data InfoFile = Af String | Bf String | Cf String | Df String | Ef String | Ff String deriving (Eq, Ord) +fromInfoFile :: InfoFile -> String+fromInfoFile (Af xs) = xs+fromInfoFile (Bf xs) = xs+fromInfoFile (Cf xs) = xs+fromInfoFile (Df xs) = xs+fromInfoFile (Ef xs) = xs+fromInfoFile (Ff xs) = xs+ data InfoG a b = I1 a | I2 b deriving Eq  -- | Type synonym used to coordinate the printing output in general case. @@ -28,3 +36,4 @@ isI2 :: InfoG a b -> Bool isI2 (I2 _) = True isI2 _ = False+
print-info.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                print-info-version:             0.1.1.0+version:             0.1.2.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