Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add extra 'Show' contraint for GHC 7.4.1 #1

Merged
merged 1 commit into from

2 participants

@andy-morris

GHC 7.4 removes the Eq and Show superclasses for Num, so this library needs a tiny change to build again. I also changed the version number to 0.1.1 due to the change.

@andy-morris andy-morris Add extra 'Show' contraint for GHC 7.4.1
Also bumped version to 0.1.1 for this reason
ab2ebc5
@spl spl merged commit e6bba68 into from
@spl
Owner
spl commented

Great! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 1, 2012
  1. @andy-morris

    Add extra 'Show' contraint for GHC 7.4.1

    andy-morris authored
    Also bumped version to 0.1.1 for this reason
This page is out of date. Refresh to see the latest.
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
--------------------------------------------------------------------------------
Something went wrong with that request. Please try again.