classy-prelude 1.5.0.1 → 1.5.0.2
raw patch · 3 files changed
+7/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +3/−0
- classy-prelude.cabal +1/−1
- src/ClassyPrelude.hs +3/−2
ChangeLog.md view
@@ -1,5 +1,8 @@ # ChangeLog for classy-prelude +## 1.5.0.2+* Fix building with time >= 1.10 [#207](https://github.com/snoyberg/mono-traversable/pull/207).+ ## 1.5.0.1 * Export a compatiblity shim for `parseTime` as it has been removed in `time-1.10`.
classy-prelude.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: classy-prelude-version: 1.5.0.1+version: 1.5.0.2 synopsis: A typeclass-based Prelude. description: See docs and README at <http://www.stackage.org/package/classy-prelude> category: Control, Prelude
src/ClassyPrelude.hs view
@@ -200,6 +200,7 @@ , getCurrentTime , defaultTimeLocale )+import qualified Data.Time as Time import qualified Data.Set as Set import qualified Data.Map as Map@@ -629,8 +630,8 @@ #if MIN_VERSION_time(1,10,0) parseTime - :: ParseTime t- => TimeLocale -- ^ Time locale.+ :: Time.ParseTime t+ => Time.TimeLocale -- ^ Time locale. -> String -- ^ Format string. -> String -- ^ Input string. -> Maybe t -- ^ The time value, or 'Nothing' if the input could not be parsed using the given format.