Safe Haskell | None |
---|
- dontAssignMetas :: TCM a -> TCM a
- getMetaStore :: TCM MetaStore
- modifyMetaStore :: (MetaStore -> MetaStore) -> TCM ()
- lookupMeta :: MetaId -> TCM MetaVariable
- updateMetaVar :: MetaId -> (MetaVariable -> MetaVariable) -> TCM ()
- getMetaPriority :: MetaId -> TCM MetaPriority
- isSortMeta :: MetaId -> TCM Bool
- getMetaType :: MetaId -> TCM Type
- isInstantiatedMeta :: MetaId -> TCM Bool
- createMetaInfo :: TCM MetaInfo
- createMetaInfo' :: RunMetaOccursCheck -> TCM MetaInfo
- setValueMetaName :: Term -> MetaNameSuggestion -> TCM ()
- getMetaNameSuggestion :: MetaId -> TCM MetaNameSuggestion
- setMetaNameSuggestion :: MetaId -> MetaNameSuggestion -> TCM ()
- 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' :: MetaVariable -> TCM a -> TCM a
- withMetaInfo :: Closure Range -> 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
dontAssignMetas :: TCM a -> TCM aSource
Switch off assignment of metas.
getMetaStore :: TCM MetaStoreSource
Get the meta store.
modifyMetaStore :: (MetaStore -> MetaStore) -> TCM ()Source
lookupMeta :: MetaId -> TCM MetaVariableSource
Lookup a meta variable
updateMetaVar :: MetaId -> (MetaVariable -> MetaVariable) -> TCM ()Source
isSortMeta :: MetaId -> TCM BoolSource
getMetaType :: MetaId -> TCM TypeSource
createMetaInfo :: TCM MetaInfoSource
Create MetaInfo
in the current environment.
setValueMetaName :: Term -> MetaNameSuggestion -> TCM ()Source
setMetaNameSuggestion :: MetaId -> MetaNameSuggestion -> TCM ()Source
updateMetaVarRange :: MetaId -> Range -> TCM ()Source
addInteractionPoint :: InteractionId -> MetaId -> TCM ()Source
removeInteractionPoint :: InteractionId -> 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' :: MetaVariable -> 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
.
unlistenToMeta :: Listener -> MetaId -> TCM ()Source
Unregister a listener.
getMetaListeners :: MetaId -> TCM [Listener]Source
Get the listeners to a meta.
clearMetaListeners :: MetaId -> TCM ()Source
freezeMetas :: TCM ()Source
Freeze all meta variables.
unfreezeMetas :: TCM ()Source