packages feed

path-dhall-instance 0.2.0.0 → 0.2.1.0

raw patch · 3 files changed

+14/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Path.Dhall: instance Dhall.FromDhall (Path.Internal.Path Path.Posix.Abs Path.Posix.Dir)
+ Path.Dhall: instance Dhall.FromDhall (Path.Internal.Path Path.Posix.Abs Path.Posix.File)
+ Path.Dhall: instance Dhall.ToDhall (Path.Internal.Path Path.Posix.Abs Path.Posix.Dir)
+ Path.Dhall: instance Dhall.ToDhall (Path.Internal.Path Path.Posix.Abs Path.Posix.File)

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for path-dhall-instance +# v0.2.1.0++* Add instances for `Abs`.+ # v0.2.0.0  * Directory normalisation now works.
path-dhall-instance.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           path-dhall-instance-version:        0.2.0.0+version:        0.2.1.0 synopsis:       ToDhall and FromDhall instances for Path. description:    ToDhall and FromDhall instances for Path. category:       Filesystem
src/Path/Dhall.hs view
@@ -38,5 +38,13 @@ instance FromDhall (Path Rel File) where     autoWith options = pathDecoder parseRelFile options -instance ToDhall (Path Rel File)+instance FromDhall (Path Abs Dir) where+    autoWith options = pathDecoder parseAbsDir options++instance FromDhall (Path Abs File) where+    autoWith options = pathDecoder parseAbsFile options+ instance ToDhall (Path Rel Dir)+instance ToDhall (Path Rel File)+instance ToDhall (Path Abs Dir)+instance ToDhall (Path Abs File)