error 0.3.0.0 → 1.0.0.0
raw patch · 3 files changed
+16/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- error.cabal +2/−2
- src/Data/Error.hs +10/−1
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for error +## 1.0.0.0 -- 2022-10-09++* No changes, just signify that the library is stable now.+ ## 0.3.0.0 -- 2022-02-16 * Add `IsString` instance for `Error`.
error.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: error-version: 0.3.0.0+version: 1.0.0.0 synopsis: The canonical error type @@ -18,7 +18,7 @@ author: Profpatsch maintainer: Profpatsch <mail@profpatsch.de>-copyright: 2021 Profpatsch+copyright: 2021-2022 Profpatsch extra-source-files: CHANGELOG.md
src/Data/Error.hs view
@@ -5,6 +5,15 @@ {-# LANGUAGE ExplicitForAll #-} {-# LANGUAGE AllowAmbiguousTypes #-} {-# LANGUAGE LambdaCase #-}+--------------------------------------------------------------------------------+-- |+-- Module : Data.Error+-- Copyright : (C) 2021-2022 Profpatsch+-- License : MIT+-- Maintainer : Profpatsch <mail@profpatsch.de>+-- Stability : stable+-- Portability : portable+-------------------------------------------------------------------------------- module Data.Error ( Error, -- * Error creation@@ -182,7 +191,7 @@ ) Right a -> a --- | This Exception is not exported so that it’s impossible to catch and handle via 'Typeable'.+-- | This Exception is not exported so that it’s impossible to catch and handle via 'Data.Typeable.Typeable'. newtype ErrorException = ErrorException Error -- | Show the pretty printed string without quotes.