1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00

Define a Show instance for DiffF.

This commit is contained in:
Rob Rix 2017-09-09 12:31:04 +01:00
parent e68d46081c
commit f65fb137fa

View File

@ -108,3 +108,6 @@ instance Show1 f => Show2 (DiffF f) where
instance (Show1 f, Show a) => Show1 (DiffF f a) where
liftShowsPrec = liftShowsPrec2 showsPrec showList
instance (Show1 f, Show a, Show b) => Show (DiffF f a b) where
showsPrec = showsPrec1