packages feed

universum 1.0.4 → 1.0.4.1

raw patch · 3 files changed

+31/−18 lines, 3 filesdep ~Globdep ~basedep ~bytestringPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: Glob, base, bytestring, containers, criterion, deepseq, doctest, microlens, microlens-mtl

API changes (from Hackage documentation)

Files

CHANGES.md view
@@ -1,3 +1,9 @@+1.0.4.1+=====++* [#127](https://github.com/serokell/universum/issues/127):+  Fix `doctest` for `text-1.2.3`.+ 1.0.4 ===== 
src/Universum/String/Conversion.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP                   #-} {-# LANGUAGE ExplicitForAll        #-} {-# LANGUAGE FlexibleInstances     #-} {-# LANGUAGE MultiParamTypeClasses #-}@@ -73,12 +74,18 @@     -- патак     decodeUtf8 :: b -> a -    -- | Decode as utf8 string but returning execption if byte sequence is malformed.-    ---    -- >>> decodeUtf8 @Text @ByteString "\208\208\176\209\130\208\176\208\186"-    -- "\65533\65533\1090\1072\1082"-    -- >>> decodeUtf8Strict @Text @ByteString "\208\208\176\209\130\208\176\208\186"-    -- Left Cannot decode byte '\xd0': Data.Text.Internal.Encoding.decodeUtf8: Invalid UTF-8 stream+    {- | Decode as utf8 string but returning execption if byte sequence is malformed.++#if MIN_VERSION_text(1,2,3)+    >>> decodeUtf8 @Text @ByteString "\208\208\176\209\130\208\176\208\186"+    "\65533\1072\1090\1072\1082"+#else+    >>> decodeUtf8 @Text @ByteString "\208\208\176\209\130\208\176\208\186"+    "\65533\65533\1090\1072\1082"+#endif+    >>> decodeUtf8Strict @Text @ByteString "\208\208\176\209\130\208\176\208\186"+    Left Cannot decode byte '\xd0': Data.Text.Internal.Encoding.decodeUtf8: Invalid UTF-8 stream+    -}     decodeUtf8Strict :: b -> Either T.UnicodeException a  instance ConvertUtf8 String B.ByteString where
universum.cabal view
@@ -1,5 +1,5 @@ name: universum-version: 1.0.4+version: 1.0.4.1 cabal-version: >=1.18 build-type: Simple license: MIT@@ -65,13 +65,13 @@         Universum.VarArg     build-depends:         base >=4.8 && <5,-        bytestring >=0.10.8.1,-        containers >=0.5.7.1,-        deepseq >=1.4.2.0,+        bytestring >=0.10.8.2,+        containers >=0.5.10.2,+        deepseq >=1.4.3.0,         ghc-prim >=0.4.0.0,         hashable >=1.2.6.1,-        microlens >=0.4.8.1,-        microlens-mtl >=0.1.11.0,+        microlens >=0.4.8.3,+        microlens-mtl >=0.1.11.1,         mtl >=2.2.1,         safe-exceptions >=0.1.6.0,         stm >=2.4.4.1,@@ -92,8 +92,8 @@     main-is: Doctest.hs     build-depends:         base >=4.8 && <5,-        doctest >=0.11.4,-        Glob >=0.8.0+        doctest >=0.13.0,+        Glob >=0.9.1     default-language: Haskell2010     hs-source-dirs: test     ghc-options: -threaded@@ -102,11 +102,11 @@     type: exitcode-stdio-1.0     main-is: Main.hs     build-depends:-        base >=4.9.1.0 && <5,+        base >=4.10.1.0 && <5,         universum -any,-        containers >=0.5.7.1,-        criterion >=1.1.4.0,-        deepseq >=1.4.2.0,+        containers >=0.5.10.2,+        criterion >=1.2.6.0,+        deepseq >=1.4.3.0,         hashable >=1.2.6.1,         mtl >=2.2.1,         semigroups >=0.18.3,