Skip to content

Commit 364c8c0

Browse files
committed
switch to using pure functional evaluator
1 parent c9aadf7 commit 364c8c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/api/GF/Compile/GeneratePMCFG.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ pmcfgForm :: Grammar -> Term -> Context -> Type -> SequenceSet -> Check ([Produc
8080
pmcfgForm gr t ctxt ty seqs = do
8181
res <- runEvalM (Gl gr stdPredef) $ do
8282
(_,args) <- mapAccumM (\arg_no (_,_,ty) -> do
83-
t <- EvalM (\(Gl gr _) k mt d r msgs -> do (mt,_,t) <- type2metaTerm gr arg_no mt 0 [] ty
84-
k t mt d r msgs)
83+
t <- EvalM (\(Gl gr _) k e mt d r msgs -> do (mt,_,t) <- type2metaTerm gr arg_no mt 0 [] ty
84+
k t mt d r msgs)
8585
tnk <- newThunk [] t
8686
return (arg_no+1,tnk))
8787
0 ctxt

0 commit comments

Comments
 (0)