Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Fix build when Show has been split out from Num #6

merged 1 commit into from

2 participants


Show was recently removed as a superclass of Num. This fix means that we'll have a redundant Show constraint on older version of base where Show still is a superclass of Num, but that shouldn't hurt. It's possible to instead fix the compilation error using an #if on the version of base, but GHC HEAD hasn't bumped the base version number so such a fix would have to wait until the release.

@bos bos merged commit ad2cd51 into bos:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 29, 2011
  1. @tibbe
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  Blaze/Text/Int.hs
2  Blaze/Text/Int.hs
@@ -40,7 +40,7 @@ import GHC.Integer.GMP.Internals
# define PAIR(a,b) (a,b)
-integral :: Integral a => a -> Builder
+integral :: (Integral a, Show a) => a -> Builder
{-# RULES "integral/Int" integral = bounded :: Int -> Builder #-}
{-# RULES "integral/Int8" integral = bounded :: Int8 -> Builder #-}
{-# RULES "integral/Int16" integral = bounded :: Int16 -> Builder #-}
Something went wrong with that request. Please try again.