path 0.5.1 → 0.5.2
raw patch · 4 files changed
+8/−3 lines, 4 filesdep ~base
Dependency ranges changed: base
Files
- CHANGELOG +3/−0
- path.cabal +1/−1
- src/Path.hs +4/−1
- src/Path/Internal.hs +0/−1
CHANGELOG view
@@ -12,3 +12,6 @@ 0.5.0: * Fix stripDir p p /= Nothing bug.++0.5.2:+ * Removed unused DeriveGeneric.
path.cabal view
@@ -1,5 +1,5 @@ name: path-version: 0.5.1+version: 0.5.2 synopsis: Path description: Path license: BSD3
src/Path.hs view
@@ -1,5 +1,4 @@ {-# LANGUAGE TemplateHaskell #-}-{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE EmptyDataDecls #-} @@ -197,6 +196,10 @@ -- Conversion -- | Convert to a 'FilePath' type.+--+-- All directories have a trailing slash, so if you want no trailing+-- slash, you can use 'System.FilePath.dropTrailingPathSeparator' from+-- the filepath package. toFilePath :: Path b t -> FilePath toFilePath (Path l) = l
src/Path/Internal.hs view
@@ -1,5 +1,4 @@ {-# LANGUAGE StandaloneDeriving #-}-{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-}