- getMetaStore :: TCM MetaStore
- modifyMetaStore :: (MetaStore -> MetaStore) -> TCM ()
- lookupMeta :: MetaId -> TCM MetaVariable
- updateMetaVar :: MetaId -> (MetaVariable -> MetaVariable) -> TCM ()
- getMetaPriority :: MetaId -> TCM MetaPriority
- isSortMeta :: MetaId -> TCM Bool
- isInstantiatedMeta :: MetaId -> TCM Bool
- createMetaInfo :: TCM MetaInfo
- updateMetaVarRange :: MetaId -> Range -> TCM ()
- addInteractionPoint :: InteractionId -> MetaId -> TCM ()
- removeInteractionPoint :: InteractionId -> TCM ()
- getInteractionPoints :: TCM [InteractionId]
- getInteractionMetas :: TCM [MetaId]
- isInteractionMeta :: MetaId -> TCM Bool
- lookupInteractionId :: InteractionId -> TCM MetaId
- judgementInteractionId :: InteractionId -> TCM (Judgement Type MetaId)
- newMeta :: MetaInfo -> MetaPriority -> Permutation -> Judgement Type a -> TCM MetaId
- newMeta' :: MetaInstantiation -> MetaInfo -> MetaPriority -> Permutation -> Judgement Type a -> TCM MetaId
- getInteractionRange :: InteractionId -> TCM Range
- getMetaRange :: MetaId -> TCM Range
- getInteractionScope :: InteractionId -> TCM ScopeInfo
- withMetaInfo :: MetaInfo -> TCM a -> TCM a
- getInstantiatedMetas :: TCM [MetaId]
- getOpenMetas :: TCM [MetaId]
- listenToMeta :: Listener -> MetaId -> TCM ()
- unlistenToMeta :: Listener -> MetaId -> TCM ()
- getMetaListeners :: MetaId -> TCM [Listener]
- clearMetaListeners :: MetaId -> TCM ()
- freezeMetas :: TCM ()
- unfreezeMetas :: TCM ()
- isFrozen :: MetaId -> TCM Bool
Documentation
getMetaStore :: TCM MetaStoreSource
Get the meta store.
lookupMeta :: MetaId -> TCM MetaVariableSource
Lookup a meta variable
updateMetaVar :: MetaId -> (MetaVariable -> MetaVariable) -> TCM ()Source
isSortMeta :: MetaId -> TCM BoolSource
addInteractionPoint :: InteractionId -> MetaId -> TCM ()Source
isInteractionMeta :: MetaId -> TCM BoolSource
Does the meta variable correspond to an interaction point?
newMeta :: MetaInfo -> MetaPriority -> Permutation -> Judgement Type a -> TCM MetaIdSource
Generate new meta variable.
newMeta' :: MetaInstantiation -> MetaInfo -> MetaPriority -> Permutation -> Judgement Type a -> TCM MetaIdSource
Generate a new meta variable with some instantiation given.
For instance, the instantiation could be a PostponedTypeCheckingProblem
.
getMetaRange :: MetaId -> TCM RangeSource
withMetaInfo :: MetaInfo -> TCM a -> TCM aSource
getOpenMetas :: TCM [MetaId]Source
listenToMeta :: Listener -> MetaId -> TCM ()Source
listenToMeta l m
: register l
as a listener to m
. This is done
when the type of l is blocked by m
.
getMetaListeners :: MetaId -> TCM [Listener]Source
Get the listeners to a meta.
clearMetaListeners :: MetaId -> TCM ()Source
Freeze all meta variables.