simplify Show instance by deriving

This commit is contained in:
Joey Hess 2019-01-09 13:13:31 -04:00
parent 11f4d993b5
commit de4980ef85
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 2 additions and 5 deletions

View file

@ -24,7 +24,7 @@ import qualified Data.Attoparsec.ByteString.Lazy as A
-- | Some very old logs did not have any time stamp at all;
-- Unknown is used for those.
data VectorClock = Unknown | VectorClock POSIXTime
deriving (Eq, Ord)
deriving (Eq, Ord, Show)
-- Unknown is oldest.
prop_VectorClock_sane :: Bool