packages feed

universum 1.0.2 → 1.0.3

raw patch · 4 files changed

+10/−5 lines, 4 files

Files

CHANGES.md view
@@ -1,3 +1,9 @@+1.0.3+=====++* [#114](https://github.com/serokell/universum/issues/114):+  Reexport more functions from `safe-exceptions`.+ 1.0.2 ===== 
README.md view
@@ -58,8 +58,6 @@  1. Avoid all [partial functions](https://www.reddit.com/r/haskell/comments/5n51u3/why_are_partial_functions_as_in_head_tail_bad/).    We like [total](http://mathworld.wolfram.com/TotalFunction.html) and exception-free functions.-   You can still use some [_unsafe_](https://github.com/serokell/universum/blob/master/src/Unsafe.hs)-   functions but they are not exported by default. 2. Use more efficient [string representations](https://www.reddit.com/r/haskell/comments/29jw0s/whats_wrong_with_string/).    `String` type is crushingly inefficient. All our functions either try to be polymorphic over string    types, or use [`Text`](http://hackage.haskell.org/package/text-1.2.2.1/docs/Data-Text.html)
src/Universum/Exception.hs view
@@ -16,8 +16,9 @@  -- exceptions from safe-exceptions import Control.Exception.Safe (Exception, MonadCatch, MonadMask (..), MonadThrow,-                               SomeException (..), bracket, bracket_, catch, catchAny, finally,-                               throwM)+                               SomeException (..), bracket, bracketOnError, bracket_, catch,+                               catchAny, displayException, finally, handleAny, mask_, onException,+                               throwM, try, tryAny)  import Control.Applicative (Applicative (pure)) import Control.Monad.Except (MonadError, throwError)
universum.cabal view
@@ -1,5 +1,5 @@ name: universum-version: 1.0.2+version: 1.0.3 cabal-version: >=1.18 build-type: Simple license: MIT