basic-prelude 0.3.9 → 0.3.10
raw patch · 2 files changed
+10/−1 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
+ CorePrelude: bracketOnError :: MonadBaseControl IO m => m a -> (a -> m b) -> (a -> m c) -> m c
+ CorePrelude: bracket_ :: MonadBaseControl IO m => m a -> m b -> m c -> m c
+ CorePrelude: catchJust :: (MonadBaseControl IO m, Exception e) => (e -> Maybe b) -> m a -> (b -> m a) -> m a
+ CorePrelude: handleJust :: (MonadBaseControl IO m, Exception e) => (e -> Maybe b) -> (b -> m a) -> m a -> m a
+ CorePrelude: mask :: MonadBaseControl IO m => ((forall a. m a -> m a) -> m b) -> m b
+ CorePrelude: mask_ :: MonadBaseControl IO m => m a -> m a
+ CorePrelude: tryJust :: (MonadBaseControl IO m, Exception e) => (e -> Maybe b) -> m a -> m (Either b a)
+ CorePrelude: typeOf :: Typeable a => a -> TypeRep
+ CorePrelude: uninterruptibleMask :: MonadBaseControl IO m => ((forall a. m a -> m a) -> m b) -> m b
+ CorePrelude: uninterruptibleMask_ :: MonadBaseControl IO m => m a -> m a
- CorePrelude: (.) :: Category k cat => forall (b :: k) (c :: k) (a :: k). cat b c -> cat a b -> cat a c
+ CorePrelude: (.) :: Category cat => forall b c a. cat b c -> cat a b -> cat a c
- CorePrelude: class (Typeable * e, Show e) => Exception e
+ CorePrelude: class (Typeable e, Show e) => Exception e
- CorePrelude: class Typeable (a :: k)
+ CorePrelude: class Typeable a
- CorePrelude: id :: Category k cat => forall (a :: k). cat a a
+ CorePrelude: id :: Category cat => forall a. cat a a
Files
- CorePrelude.hs +9/−0
- basic-prelude.cabal +1/−1
CorePrelude.hs view
@@ -138,11 +138,20 @@ , Control.Exception.IOException , Control.Exception.Lifted.throwIO , Control.Exception.Lifted.try+ , Control.Exception.Lifted.tryJust , Control.Exception.Lifted.catch+ , Control.Exception.Lifted.catchJust , Control.Exception.Lifted.handle+ , Control.Exception.Lifted.handleJust , Control.Exception.Lifted.bracket+ , Control.Exception.Lifted.bracket_+ , Control.Exception.Lifted.bracketOnError , Control.Exception.Lifted.onException , Control.Exception.Lifted.finally+ , Control.Exception.Lifted.mask+ , Control.Exception.Lifted.mask_+ , Control.Exception.Lifted.uninterruptibleMask+ , Control.Exception.Lifted.uninterruptibleMask_ , module System.IO.Error -- ** Files , F.FilePath
basic-prelude.cabal view
@@ -1,5 +1,5 @@ name: basic-prelude-version: 0.3.9+version: 0.3.10 synopsis: An enhanced core prelude; a common foundation for alternate preludes. description: The premise of @basic-prelude@ is that there are a lot of very commonly desired features missing from the standard @Prelude@, such as commonly used operators (@\<$\>@ and @>=>@, for instance) and imports for common datatypes (e.g., @ByteString@ and @Vector@). At the same time, there are lots of other components which are more debatable, such as providing polymorphic versions of common functions.