summaryrefslogtreecommitdiff
path: root/src/runtime/haskell/PGF.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2010-02-22 15:50:41 +0000
committerkrasimir <krasimir@chalmers.se>2010-02-22 15:50:41 +0000
commit09da1013f9a14dfa672c8e1adea269fc337aa57c (patch)
tree07701d44976552ca65a8c67000f6d09f308acc1b /src/runtime/haskell/PGF.hs
parent21ad608e2a7a587805a6b99e8c07c6255de348c5 (diff)
refactor PGF.Expr and PGF.TypeCheck so that the evaluator always has access to the meta store
Diffstat (limited to 'src/runtime/haskell/PGF.hs')
-rw-r--r--src/runtime/haskell/PGF.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/haskell/PGF.hs b/src/runtime/haskell/PGF.hs
index f8c6dfc8c..a2a2154bb 100644
--- a/src/runtime/haskell/PGF.hs
+++ b/src/runtime/haskell/PGF.hs
@@ -293,7 +293,7 @@ complete pgf from typ input =
-- | Converts an expression to normal form
compute :: PGF -> Expr -> Expr
-compute pgf = PGF.Data.normalForm (funs (abstract pgf)) 0 []
+compute pgf = PGF.Data.normalForm (funs (abstract pgf),const Nothing) 0 []
browse :: PGF -> CId -> Maybe (String,[CId],[CId])
browse pgf id = fmap (\def -> (def,producers,consumers)) definition