result 0.1.0.0 → 0.2.0.0
raw patch · 2 files changed
+6/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- Data.Result: Result :: (Either (NonEmpty e) a) -> Result e a
- Data.Result: newtype Result e a
+ Data.Result: data Result e a
Files
- result.cabal +1/−1
- src/Data/Result.hs +5/−1
result.cabal view
@@ -1,5 +1,5 @@ name: result-version: 0.1.0.0+version: 0.2.0.0 synopsis: Encode success or at least one error homepage: https://github.com/srijs/haskell-result license: MIT
src/Data/Result.hs view
@@ -1,6 +1,10 @@ {-# LANGUAGE GeneralizedNewtypeDeriving #-} -module Data.Result where+module Data.Result+ ( Result+ , get, errors+ , raise+ ) where import Data.Monoid