summaryrefslogtreecommitdiff
path: root/src/runtime/haskell/PGF/VisualizeTree.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2010-10-13 13:32:48 +0000
committerkrasimir <krasimir@chalmers.se>2010-10-13 13:32:48 +0000
commit7fc638e0301c7ec6896e3c198e40952826446005 (patch)
tree0c8c20c6038eea262a551aa24c3fb1138a094448 /src/runtime/haskell/PGF/VisualizeTree.hs
parent5ff648901344393d50f2ee549eec793cf373d27d (diff)
bugfix in PGF.VisualizeTree for handling trees with implicit arguments
Diffstat (limited to 'src/runtime/haskell/PGF/VisualizeTree.hs')
-rw-r--r--src/runtime/haskell/PGF/VisualizeTree.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/haskell/PGF/VisualizeTree.hs b/src/runtime/haskell/PGF/VisualizeTree.hs
index 0597c1c52..916681d93 100644
--- a/src/runtime/haskell/PGF/VisualizeTree.hs
+++ b/src/runtime/haskell/PGF/VisualizeTree.hs
@@ -55,10 +55,12 @@ graphvizAbstractTree pgf (funs,cats) = render . tree2graph
getAbs xs (EAbs _ x e) = getAbs (x:xs) e
getAbs xs (ETyped e _) = getAbs xs e
+ getAbs xs (EImplArg e) = getAbs xs e
getAbs xs e = (xs,e)
getApp (EApp x y) es = getApp x (y:es)
getApp (ETyped e _) es = getApp e es
+ getApp (EImplArg e) es = getApp e es
getApp e es = (e,es)
getLbl scope (EFun f) = let fun = if funs then ppCId f else empty