mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-29 21:44:11 +03:00
Add Show{,F} instances for MacawCrucibleValue (#232)
I found these useful while printf debugging.
This commit is contained in:
parent
a336895da7
commit
fbd7bce217
@ -251,6 +251,11 @@ instance FoldableFC MacawCrucibleValue where
|
||||
instance TraversableFC MacawCrucibleValue where
|
||||
traverseFC f (MacawCrucibleValue v) = MacawCrucibleValue <$> f v
|
||||
|
||||
instance ShowF f => ShowF (MacawCrucibleValue f)
|
||||
|
||||
instance ShowF f => Show (MacawCrucibleValue f tp) where
|
||||
showsPrec p (MacawCrucibleValue v) = showsPrecF p v
|
||||
|
||||
------------------------------------------------------------------------
|
||||
-- CrucPersistentState
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user