system-filepath 0.4.13.4 → 0.4.14
raw patch · 3 files changed
+12/−1 lines, 3 filesdep +semigroupsdep ~basedep ~deepseq
Dependencies added: semigroups
Dependency ranges changed: base, deepseq
Files
- ChangeLog.md +4/−0
- lib/Filesystem/Path.hs +4/−0
- system-filepath.cabal +4/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.4.14++* Add a Semigroup instance [#20 ](https://github.com/fpco/haskell-filesystem/pull/20)+ ## 0.4.13.3 * Documentation fix for: `PLATFORM_PATH_FORMAT` promotes platform dependent code [#12](https://github.com/fpco/haskell-filesystem/issues/12)
lib/Filesystem/Path.hs view
@@ -60,10 +60,14 @@ import Data.List (foldl') import Data.Maybe (isJust, isNothing)+import qualified Data.Semigroup as Sem import qualified Data.Monoid as M import qualified Data.Text as T import Filesystem.Path.Internal++instance Sem.Semigroup FilePath where+ (<>) = append instance M.Monoid FilePath where mempty = empty
system-filepath.cabal view
@@ -1,5 +1,5 @@ name: system-filepath-version: 0.4.13.4+version: 0.4.14 synopsis: High-level, byte-based file and directory path manipulations (deprecated) description: Please see: https://plus.google.com/+MichaelSnoyman/posts/Ft5hnPqpgEx license: MIT@@ -28,6 +28,9 @@ , bytestring >= 0.9 , deepseq >= 1.1 && < 1.5 , text >= 0.11.0.6+ if !impl(ghc >= 8.0)+ build-depends:+ semigroups >= 0.11 && < 0.19 if os(windows) cpp-options: -DCABAL_OS_WINDOWS