@@ -448,7 +448,7 @@ elab ist info emode opts fn tm
448 -- the full set.
448 -- the full set.
449 uns <- get_usedns
449 uns <- get_usedns
450 let as' = map (mkUniqueNames (uns ++ map snd ms) ms) as_pruned
450 let as' = map (mkUniqueNames (uns ++ map snd ms) ms) as_pruned
451− (h : hs) <- get_holes
451+ ~(h : hs) <- get_holes
452 ty <- goal
452 ty <- goal
453 case as' of
453 case as' of
454 [] -> do hds <- mapM showHd as
454 [] -> do hds <- mapM showHd as
@@ -984,7 +984,7 @@ elab ist info emode opts fn tm
984 (elab' ina fc Placeholder)
984 (elab' ina fc Placeholder)
986 elab' ina fc Placeholder
986 elab' ina fc Placeholder
987− = do (h : hs) <- get_holes
987+ = do ~(h : hs) <- get_holes
988 movelast h
988 movelast h
989 elab' ina fc (PMetavar nfc n) =
989 elab' ina fc (PMetavar nfc n) =
990 do ptm <- get_term
990 do ptm <- get_term
@@ -1251,7 +1251,7 @@ elab ist info emode opts fn tm
1251 elab' ina fc (PHidden t)
1251 elab' ina fc (PHidden t)
1252 | reflection = elab' ina fc t
1252 | reflection = elab' ina fc t
1253 | otherwise
1253 | otherwise
1254− = do (h : hs) <- get_holes
1254+ = do ~(h : hs) <- get_holes
1255 -- Dotting a hole means that either the hole or any outer
1255 -- Dotting a hole means that either the hole or any outer
1256 -- hole (a hole outside any occurrence of it)
1256 -- hole (a hole outside any occurrence of it)
1257 -- must be solvable by unification as well as being filled
1257 -- must be solvable by unification as well as being filled
@@ -1259,7 +1259,7 @@ elab ist info emode opts fn tm
1259 -- Delay dotted things to the end, then when we elaborate them
1259 -- Delay dotted things to the end, then when we elaborate them
1260 -- we can check the result against what was inferred
1260 -- we can check the result against what was inferred
1261 movelast h
1261 movelast h
1262− (h' : hs) <- get_holes
1262+ ~(h' : hs) <- get_holes
1263 -- If we're at the end anyway, do it now
1263 -- If we're at the end anyway, do it now
1264 if h == h' then elabHidden h
1264 if h == h' then elabHidden h
1265 else delayElab 10 $ elabHidden h
1265 else delayElab 10 $ elabHidden h