Improved the Show instance for UsageLabel

This commit is contained in:
Neil Brown 2008-11-12 18:50:25 +00:00
parent 2a15f4ef5f
commit 44e2699089

View File

@ -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