Improved the Show instance for UsageLabel
This commit is contained in:
parent
2a15f4ef5f
commit
44e2699089
|
@ -77,7 +77,7 @@ data UsageLabel = Usage
|
|||
}
|
||||
|
||||
instance Show UsageLabel where
|
||||
show x = "Vars{" ++ show (nodeVars x) ++ "}"
|
||||
show x = "Usage (Decl{" ++ show (nodeDecl x) ++ "} Vars{" ++ show (nodeVars x) ++ "}"
|
||||
|
||||
transformParItems :: (a -> b) -> ParItems a -> ParItems b
|
||||
transformParItems f (SeqItems xs) = SeqItems $ map f xs
|
||||
|
|
Loading…
Reference in New Issue
Block a user