show-please 0.5.4 → 0.5.5
raw patch · 2 files changed
+5/−7 lines, 2 files
Files
- Debug/Show.hs +4/−6
- show-please.cabal +1/−1
Debug/Show.hs view
@@ -1,24 +1,22 @@ -- | A wrapper type and associated Show instances that generate -- correct haskell code, especially for exception types. -{-# LANGUAGE CPP, FlexibleInstances #-}+{-# LANGUAGE CPP, DeriveDataTypeable, FlexibleInstances #-} {-# OPTIONS -Wall -Werror #-} module Debug.Show (V(V)) where import Control.Exception+import Data.Data (Data) import Data.Maybe import Data.Time--- import Foreign.C.Types--- import GHC.Base+import Data.Typeable (Typeable) import GHC.IO.Exception--- import GHC.IO.Handle--- import GHC.Show import Language.Haskell.TH.Instances () import Language.Haskell.TH.Syntax import Text.Parsec.Error import Text.Parsec.Pos -newtype V a = V a+newtype V a = V a deriving (Eq, Ord, Data, Typeable) instance Show (V IOException) where show (V e) =
show-please.cabal view
@@ -1,5 +1,5 @@ Name: show-please-Version: 0.5.4+Version: 0.5.5 License: BSD3 Author: David Fox <dsf@seereason.com> Category: debug