halfsplit 0.1.0.0 → 0.2.0.0
raw patch · 3 files changed
+12/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Phladiprelio.Halfsplit: showWithSpaces :: Show a => Int -> a -> String
Files
- CHANGELOG.md +3/−0
- Phladiprelio/Halfsplit.hs +7/−0
- halfsplit.cabal +2/−2
CHANGELOG.md view
@@ -4,4 +4,7 @@ * First version. Released on an unsuspecting world. +## 0.2.0.0 -- 2023-06-22++* Second version. Added showWithSpaces function.
Phladiprelio/Halfsplit.hs view
@@ -66,3 +66,10 @@ | k < l = (rss, js:mss, k + length js) | otherwise = (js : rss, mss, k + length js) +showWithSpaces :: (Show a) => Int -> a -> String+showWithSpaces n x + | l < n = xs `mappend` replicate (n - l) ' '+ | otherwise = xs+ where xs = show x+ l = length xs+
halfsplit.cabal view
@@ -1,12 +1,12 @@ cabal-version: 2.4 name: halfsplit-version: 0.1.0.0+version: 0.2.0.0 -- A short (one-line) description of the package. synopsis: A library to provide special kind of two-column terminal output for Phladiprelio. -- A longer description of the package.-description: Provides function for two-column terminal output for newer versions of Phladiprelio projects. Is intended to improve UI and UX for the work with them. +description: Provides functions for two-column terminal output for newer versions of Phladiprelio projects. Is intended to improve UI and UX for the work with them. -- A URL where users can report bugs. -- bug-reports: