Skip to content

Commit

Permalink
Merge pull request #43 from anttih/remove-show-char
Browse files Browse the repository at this point in the history
Remove Show instance for Char, we have that in Prelude
  • Loading branch information
garyb committed Jul 18, 2015
2 parents 9968b3f + 241161f commit 6e9f7c5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Data/Char.purs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@ foreign import fromCharCode :: Int -> Char
instance boundedChar :: Bounded Char where
top = fromCharCode zero
bottom = fromCharCode 65535

-- | Characters can be rendered as a string with `show`.
instance showChar :: Show Char where
show c = "Char " ++ show (toString c)

0 comments on commit 6e9f7c5

Please sign in to comment.