module GHC.Types.SptEntry
( SptEntry(..)
)
where
import GHC.Types.Name ( Name )
import GHC.Fingerprint.Type ( Fingerprint )
import GHC.Utils.Outputable
data SptEntry = SptEntry !Name !Fingerprint
instance Outputable SptEntry where
ppr :: SptEntry -> SDoc
ppr (SptEntry Name
n Fingerprint
fpr) = Name -> SDoc
forall a. Outputable a => a -> SDoc
ppr Name
n SDoc -> SDoc -> SDoc
forall doc. IsLine doc => doc -> doc -> doc
<> SDoc
forall doc. IsLine doc => doc
colon SDoc -> SDoc -> SDoc
forall doc. IsLine doc => doc -> doc -> doc
<+> Fingerprint -> SDoc
forall a. Outputable a => a -> SDoc
ppr Fingerprint
fpr