mirror of
https://github.com/github/semantic.git
synced 2025-01-02 20:41:38 +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
|
||||
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