packages feed

classy-prelude 0.9.0 → 0.9.1

raw patch · 2 files changed

+4/−1 lines, 2 filesdep +exceptionsPVP ok

version bump matches the API change (PVP)

Dependencies added: exceptions

API changes (from Hackage documentation)

+ ClassyPrelude: class Monad m => MonadThrow (m :: * -> *)
+ ClassyPrelude: throwM :: (MonadThrow m, Exception e) => e -> m a

Files

ClassyPrelude.hs view
@@ -113,6 +113,7 @@     , fpToTextEx       -- ** Exceptions     , module Control.Exception.Enclosed+    , MonadThrow (throwM)       -- ** Force types       -- | Helper functions for situations where type inferer gets confused.     , asByteString@@ -145,6 +146,7 @@ import Data.Traversable (Traversable) import Data.Foldable (Foldable) import Data.IOData (IOData (..))+import Control.Monad.Catch (MonadThrow (throwM))  import Data.Vector.Instances () import CorePrelude hiding (print, undefined, (<>))
classy-prelude.cabal view
@@ -1,5 +1,5 @@ name:                classy-prelude-version:             0.9.0+version:             0.9.1 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. homepage:            https://github.com/snoyberg/classy-prelude@@ -25,6 +25,7 @@                      , hashable                      , lifted-base                   >= 0.2                      , mono-traversable              >= 0.3+                     , exceptions                    >= 0.5                      , semigroups                      , vector-instances                      , old-locale