Glob 0.7.14 → 0.8.0
raw patch · 3 files changed
+8/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.txt +3/−0
- Glob.cabal +1/−1
- System/FilePath/Glob/Base.hs +4/−0
CHANGELOG.txt view
@@ -1,3 +1,6 @@+0.8.0, 2017-05-27:+ Added instance IsString Pattern, thanks to Mitsutoshi Aoe.+ 0.7.14, 2016-12-29: Update dependencies to allow directory-1.3.
Glob.cabal view
@@ -1,7 +1,7 @@ Cabal-Version: >= 1.9.2 Name: Glob-Version: 0.7.14+Version: 0.8.0 Homepage: http://iki.fi/matti.niemenmaa/glob/ Synopsis: Globbing library Category: System
System/FilePath/Glob/Base.hs view
@@ -30,6 +30,7 @@ import Data.Maybe (fromMaybe) import Data.Monoid (Monoid, mappend, mempty, mconcat) import Data.Semigroup (Semigroup, (<>), sconcat, stimes)+import Data.String (IsString(fromString)) import System.FilePath ( pathSeparator, extSeparator , isExtSeparator, isPathSeparator )@@ -162,6 +163,9 @@ mempty = Pattern [] mappend = (<>) mconcat = optimize . Pattern . concatMap unPattern++instance IsString Pattern where+ fromString = compile -- |Options which can be passed to the 'tryCompileWith' or 'compileWith' -- functions: with these you can selectively toggle certain features at compile