uniform-pair 0.1.11 → 0.1.12
raw patch · 2 files changed
+4/−5 lines, 2 filesdep +prelude-extrasdep −ShowF
Dependencies added: prelude-extras
Dependencies removed: ShowF
Files
- src/Data/UniformPair.hs +2/−3
- uniform-pair.cabal +2/−2
src/Data/UniformPair.hs view
@@ -31,7 +31,7 @@ import Control.Applicative (Applicative(..)) -- ,liftA2 import Control.DeepSeq (NFData(..)) -import Text.ShowF (ShowF(..))+import Prelude.Extras (Show1(..)) infix 1 :# @@ -43,8 +43,7 @@ instance NFData a => NFData (Pair a) where rnf (a :# b) = rnf a `seq` rnf b -instance ShowF Pair where- showsPrecF = showsPrec+instance Show1 Pair fstP :: Pair a -> a fstP (a :# _) = a
uniform-pair.cabal view
@@ -1,5 +1,5 @@ Name: uniform-pair-Version: 0.1.11+Version: 0.1.12 Cabal-Version: >= 1.6 Synopsis: Uniform pairs with class instances Category: Data@@ -22,7 +22,7 @@ Library hs-Source-Dirs: src Extensions:- Build-Depends: base<5, ShowF, deepseq+ Build-Depends: base<5, prelude-extras < 0.5, deepseq Exposed-Modules: Data.UniformPair ghc-options: -Wall