classy-prelude 0.11.1 → 0.11.1.1
raw patch · 3 files changed
+9/−5 lines, 3 filesdep +time-locale-compatdep −old-localePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies added: time-locale-compat
Dependencies removed: old-locale
API changes (from Hackage documentation)
- ClassyPrelude: primToIO :: (PrimMonad m, (~) * (PrimState m) RealWorld) => m a -> IO a
+ ClassyPrelude: primToIO :: (PrimBase m, (~) * (PrimState m) RealWorld) => m a -> IO a
- ClassyPrelude: primToPrim :: (PrimMonad m1, PrimMonad m2, (~) * (PrimState m1) (PrimState m2)) => m1 a -> m2 a
+ ClassyPrelude: primToPrim :: (PrimBase m1, PrimMonad m2, (~) * (PrimState m1) (PrimState m2)) => m1 a -> m2 a
- ClassyPrelude: primToST :: PrimMonad m => m a -> ST (PrimState m) a
+ ClassyPrelude: primToST :: PrimBase m => m a -> ST (PrimState m) a
Files
- ChangeLog.md +4/−0
- ClassyPrelude.hs +3/−3
- classy-prelude.cabal +2/−2
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.11.1.1++* Compatibility with time >= 1.5 [#100](https://github.com/snoyberg/classy-prelude/pull/100)+ ## 0.11.1 * Fix deprecation warnings for `elem`
ClassyPrelude.hs view
@@ -212,7 +212,7 @@ , parseTime , getCurrentTime )-import System.Locale (defaultTimeLocale)+import Data.Time.Locale.Compat (defaultTimeLocale) import qualified Data.Set as Set import qualified Data.Map as Map@@ -427,8 +427,8 @@ sortWith f = sortBy $ comparing f -- | We define our own 'undefined' which is marked as deprecated. This makes it--- useful to use during development, but let's you more easily getting--- notification if you accidentally ship partial code in production.+-- useful to use during development, but lets you more easily get+-- notifications if you accidentally ship partial code in production. -- -- The classy prelude recommendation for when you need to really have a partial -- function in production is to use 'error' with a very descriptive message so
classy-prelude.cabal view
@@ -1,5 +1,5 @@ name: classy-prelude-version: 0.11.1+version: 0.11.1.1 synopsis: A typeclass-based Prelude. description: Modern best practices without name collisions. No partial functions are exposed, but modern data structures are, without requiring import lists. Qualified modules also are not needed: instead operations are based on type-classes from the mono-traversable package. @@ -30,8 +30,8 @@ , exceptions >= 0.5 , semigroups , vector-instances- , old-locale , time+ , time-locale-compat , chunked-data , enclosed-exceptions , ghc-prim