@@ -91,7 +91,7 @@ newHole hint ty =
92||| @ tm the term that has the right type for the hole
92||| @ tm the term that has the right type for the hole
93exact : (tm : Raw) -> Elab ()
93exact : (tm : Raw) -> Elab ()
94−exact tm = do apply tm []
94+exact tm = do fill tm
97||| Introduce as many names as possible, returning them.
97||| Introduce as many names as possible, returning them.
@@ -178,7 +178,7 @@ data Infer : Type where
179inferType : (tac : Elab ()) -> Elab (TT, TT)
179inferType : (tac : Elab ()) -> Elab (TT, TT)
180inferType tac =
180inferType tac =
181− case fst !(runElab `(Infer) (startInfer *> tac)) of
181+ case fst !(runElab `(Infer) (do startInfer; tac)) of
182 `(MkInfer ~ty ~tm) => return (tm, ty)
182 `(MkInfer ~ty ~tm) => return (tm, ty)
183 _ => fail [TextPart "Not infer"]
183 _ => fail [TextPart "Not infer"]