Permalink
Browse files

Merge pull request #1 from anders-/master

Add extra 'Show' contraint for GHC 7.4.1
  • Loading branch information...
2 parents 84f56c4 + ab2ebc5 commit e6bba6873c05ad7b97fad28d1e31433c66189159 @spl committed Mar 1, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/Text/XFormat/Show.hs
  2. +2 −2 xformat.cabal
View
2 src/Text/XFormat/Show.hs
@@ -274,7 +274,7 @@ instance (Show a) => Format (ShowF a) (Arr a) where
data NumF a = Num
-instance (Num a) => Format (NumF a) (Arr a) where
+instance (Num a, Show a) => Format (NumF a) (Arr a) where
showsf' Num = Arr shows
--------------------------------------------------------------------------------
View
4 xformat.cabal
@@ -1,5 +1,5 @@
name: xformat
-version: 0.1
+version: 0.1.1
synopsis:
Extensible, type-safe formatting with scanf- and printf-like functions
@@ -38,7 +38,7 @@ maintainer: leather@cs.uu.nl
stability: experimental
build-type: Custom
cabal-version: >= 1.2.1
-tested-with: GHC == 6.8.3, GHC == 6.10.1
+tested-with: GHC == 6.8.3, GHC == 6.10.1, GHC == 7.4.1
--------------------------------------------------------------------------------

0 comments on commit e6bba68

Please sign in to comment.