packages feed

path-text-utf8 0.0.0.1 → 0.0.0.2

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

path-text-utf8.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack  name:           path-text-utf8-version:        0.0.0.1+version:        0.0.0.2 synopsis:       Read and write UTF-8 text files  description:    This is a trivial integration of the @path@ and @text@
src/Path/Text/UTF8.hs view
@@ -78,7 +78,7 @@ -- | Write text to a file in a UTF-8 encoding. -- -- Any 'IOError' that occurs is caught and returned on the 'Left' side of the--- 'Either'.+-- 'Either'. To throw the exception instead, use 'writeFile'. tryWriteFile :: Path base Path.File -> Text -> IO (Either WriteError ()) tryWriteFile path text =   Exception.tryIO (writeFile path text)