mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
Define a Show instance for DiffF.
This commit is contained in:
parent
e68d46081c
commit
f65fb137fa
@ -108,3 +108,6 @@ instance Show1 f => Show2 (DiffF f) where
|
|||||||
|
|
||||||
instance (Show1 f, Show a) => Show1 (DiffF f a) where
|
instance (Show1 f, Show a) => Show1 (DiffF f a) where
|
||||||
liftShowsPrec = liftShowsPrec2 showsPrec showList
|
liftShowsPrec = liftShowsPrec2 showsPrec showList
|
||||||
|
|
||||||
|
instance (Show1 f, Show a, Show b) => Show (DiffF f a b) where
|
||||||
|
showsPrec = showsPrec1
|
||||||
|
Loading…
Reference in New Issue
Block a user