path 0.9.1 → 0.9.2
raw patch · 3 files changed
+10/−6 lines, 3 files
Files
- CHANGELOG +4/−0
- path.cabal +2/−2
- src/Path/Include.hs +4/−4
CHANGELOG view
@@ -1,3 +1,7 @@+0.9.2+ * Data instances for Rel, Abs, File, and Dir.+ * Bump hashable upper bound to <1.5.+ 0.9.1 * Support for genvalidity >=1.0.0.0 * `mapSomeBase` and `prjSomeBase` for modifying or projecting SomeBase.
path.cabal view
@@ -1,5 +1,5 @@ name: path-version: 0.9.1+version: 0.9.2 synopsis: Support for well-typed paths description: Support for well-typed paths. license: BSD3@@ -35,7 +35,7 @@ , deepseq , exceptions >= 0.4 && < 0.11 , filepath < 1.2.0.1 || >= 1.3- , hashable >= 1.2 && < 1.4+ , hashable >= 1.2 && < 1.5 , text , template-haskell if flag(dev)
src/Path/Include.hs view
@@ -120,17 +120,17 @@ -- Types -- | An absolute path.-data Abs deriving (Typeable)+data Abs deriving (Typeable, Data) -- | A relative path; one without a root. Note that a @..@ path component to -- represent the parent directory is not allowed by this library.-data Rel deriving (Typeable)+data Rel deriving (Typeable, Data) -- | A file path.-data File deriving (Typeable)+data File deriving (Typeable, Data) -- | A directory path.-data Dir deriving (Typeable)+data Dir deriving (Typeable, Data) instance FromJSON (Path Abs File) where parseJSON = parseJSONWith parseAbsFile