packages feed

path-like 0.2.0.0 → 0.2.0.1

raw patch · 3 files changed

+4/−5 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

README.md view
@@ -4,7 +4,7 @@ common interface for compiling types down to `Path b File` and `Path b Dir`. The only contract that should be respected is that your type should be at least as strict as the `Path` type itself, i.e no String/FilePath instances. This is-the case with the [within](https://hackage.haskell.org/hackage/within) type.+the case with the [within](https://hackage.haskell.org/package/within) type.  This library also exports a concatenation function `(/>)` which defers to the underlying `(</>)` function in `Path`, but works for any `DirLike` and@@ -13,5 +13,5 @@ generalising file IO, but you may find you need to cast more when you first construct a `Path` using TemplateHaskell. -For more information see the [path](https://hackage.haskell.org/hackage/path)+For more information see the [path](https://hackage.haskell.org/package/path) library documentation.
path-like.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           path-like-version:        0.2.0.0+version:        0.2.0.1 synopsis:       PathLike, FileLike and DirLike type classes for the Path library. description:    Type classes for the Path library. Exports PathLike, FileLike and DirLike classes so that stricter types may be used as Paths. category:       Filesystem
src/Path/Like.hs view
@@ -1,7 +1,6 @@ {-# LANGUAGE FlexibleContexts       #-} {-# LANGUAGE FlexibleInstances      #-} {-# LANGUAGE FunctionalDependencies #-}-{-# LANGUAGE MultiParamTypeClasses  #-} {- |    Module      : Path.Like    Copyright   : Copyright (C) 2020 Daniel Firth@@ -43,4 +42,4 @@  -- | Like `Path.</>`, but works for any `DirLike` and relative `FileLike` to produce a concrete `Path`. (/>) :: (DirLike b a, FileLike Rel c) => a -> c -> Path b File-(/>) x y = (toDir x) </> (toFile y)+(/>) x y = toDir x </> toFile y