Skip to content

Commit

Permalink
Cleaned out unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
adept committed Aug 22, 2009
1 parent 3a9cbbb commit 3f460cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/GraphType.hs
Expand Up @@ -217,8 +217,7 @@ addDecl declName clusters decls = do
}


-- Graph nodes construction helpers
box label = node $ [ ("shape","box"),("label",label) ]
-- DOT record node construction helper
record label = node $ [ ("shape","record"),("label",block label) ]

-- Record label construnction helpers
Expand All @@ -229,7 +228,6 @@ block x = "{ " ++ x ++ " }"


-- Haskell AST manipulation helpers

findDecl nm decls = find ((==nm).getName) decls

getName (DataDecl _ _ _ nm _ _ _) = fromName nm
Expand Down

0 comments on commit 3f460cf

Please sign in to comment.