Skip to content

Commit

Permalink
[ #5388 ] Removed getInstantiatedMetas.
Browse files Browse the repository at this point in the history
  • Loading branch information
nad committed Jan 12, 2022
1 parent 078362f commit 860adc5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/full/Agda/TypeChecking/Monad/MetaVars.hs
Original file line number Diff line number Diff line change
Expand Up @@ -552,15 +552,6 @@ getMetaVariables p = do
store <- getMetaStore
return [ MetaId i | (i, mv) <- IntMap.assocs store, p mv ]

getInstantiatedMetas :: ReadTCState m => m [MetaId]
getInstantiatedMetas = getMetaVariables (isInst . mvInstantiation)
where
isInst Open = False
isInst OpenInstance = False
isInst BlockedConst{} = False
isInst PostponedTypeCheckingProblem{} = False
isInst InstV{} = True

getOpenMetas :: ReadTCState m => m [MetaId]
getOpenMetas = getMetaVariables (isOpenMeta . mvInstantiation)

Expand Down

0 comments on commit 860adc5

Please sign in to comment.