projects
/
matthijs
/
master-project
/
cλash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Name signals in a function after flattening it.
[matthijs/master-project/cλash.git]
/
Pretty.hs
diff --git
a/Pretty.hs
b/Pretty.hs
index 21a3795ff6b71986f2d5bc897a2c844af16c8ae8..ee4b3be78ec7c1facf6ea2402e753b943cf36f16 100644
(file)
--- a/
Pretty.hs
+++ b/
Pretty.hs
@@
-43,7
+43,8
@@
instance Pretty id => Pretty (CondDef id) where
pPrint _ = text "TODO"
instance Pretty id => Pretty (Signal id) where
pPrint _ = text "TODO"
instance Pretty id => Pretty (Signal id) where
- pPrint (Signal id) = pPrint id
+ pPrint (Signal id Nothing) = pPrint id
+ pPrint (Signal id (Just name)) = pPrint id <> text ":" <> text name
instance Pretty VHDLSession where
pPrint (VHDLSession mod nameCount funcs) =
instance Pretty VHDLSession where
pPrint (VHDLSession mod nameCount funcs) =