mirror of
https://github.com/github/semantic.git
synced 2025-01-06 23:46:21 +03:00
Define showsPrec tacitly.
This commit is contained in:
parent
3a03b86f22
commit
f4a2fb2d41
@ -41,4 +41,4 @@ heapRestrict (Heap m) roots = Heap (Monoidal.filterWithKey (\ address _ -> Addre
|
|||||||
|
|
||||||
|
|
||||||
instance (Show location, Show (cell value)) => Show (Heap location cell value) where
|
instance (Show location, Show (cell value)) => Show (Heap location cell value) where
|
||||||
showsPrec d (Heap heap) = showsUnaryWith showsPrec "Heap" d (Monoidal.pairs heap)
|
showsPrec d = showsUnaryWith showsPrec "Heap" d . Monoidal.pairs . unHeap
|
||||||
|
Loading…
Reference in New Issue
Block a user