classy-prelude 0.10.2 → 0.10.3
raw patch · 3 files changed
+11/−3 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- ClassyPrelude: times1p :: (Semigroup a, Whole n) => n -> a -> a
+ ClassyPrelude: times1p :: Semigroup a => Natural -> a -> a
Files
- ChangeLog.md +5/−1
- ClassyPrelude.hs +3/−0
- classy-prelude.cabal +3/−2
ChangeLog.md view
@@ -1,4 +1,8 @@-__0.10.2__+## 0.10.3++* Expose `liftA` functions and `<**>` [#94](https://github.com/snoyberg/classy-prelude/pull/94)++## 0.10.2 * Provide `foldMap` and `fold` as synonyms for `concatMap` and `concat`. * Switch to more general `Traversable`-based functions (`sequence_` in particular).
ClassyPrelude.hs view
@@ -11,6 +11,8 @@ -- ** Semigroup , Semigroup (..) , WrappedMonoid+ -- ** Applicative+ , module Control.Applicative -- ** Monad , module Control.Monad , whenM@@ -160,6 +162,7 @@ ) where import qualified Prelude+import Control.Applicative ((<**>),liftA,liftA2,liftA3) import Control.Exception (assert) import Control.Exception.Enclosed import Control.Monad (when, unless, void, liftM, ap, forever, join, replicateM_, guard, MonadPlus (..), (=<<), (>=>), (<=<), liftM2, liftM3, liftM4, liftM5)
classy-prelude.cabal view
@@ -1,7 +1,8 @@ name: classy-prelude-version: 0.10.2+version: 0.10.3 synopsis: A typeclass-based Prelude.-description: Focuses on using common typeclasses when possible, and creating new ones to avoid name clashing. Exposes many recommended datastructures (Map, ByteString, etc) directly without requiring long import lists and qualified modules.+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.+ homepage: https://github.com/snoyberg/classy-prelude license: MIT license-file: LICENSE