Agda.TypeChecking.Monad.State

resetState

resetAllState

localTCState

localTCStateSaving

freshTCM

Lens for persistent states and its fields

lensPersistentState

updatePersistentState

modifyPersistentState

lensAccumStatisticsP

lensAccumStatistics

Scope

getScope

setScope

modifyScope_

modifyScope

withScope

withScope_

localScope

notInScope

printScope

Signature

Lens for stSignature and stImports

modifySignature

modifyImportedSignature

getSignature

modifyGlobalDefinition

setSignature

withSignature

Modifiers for rewrite rules

addRewriteRulesFor

Modifiers for parts of the signature

lookupDefinition

updateDefinitions

updateDefinition

updateTheDef

updateDefType

updateDefArgOccurrences

updateDefPolarity

updateDefCompiledRep

addCompilerPragma

updateFunClauses

updateCompiledClauses

updateFunCopatternLHS

Top level module

setTopLevelModule

withTopLevelModule

Foreign code

addForeignCode

Temporary: Haskell imports

addDeprecatedForeignCode

addHaskellImport

addHaskellImportUHC

addInlineHaskell

Interaction output callback

getInteractionOutputCallback

appInteractionOutputCallback

setInteractionOutputCallback

Pattern synonyms

getPatternSyns

setPatternSyns

modifyPatternSyns

getPatternSynImports

lookupPatternSyn

Benchmark

theBenchmark

updateBenchmark

getBenchmark

modifyBenchmark

Instance definitions

addImportedInstances

updateInstanceDefs

modifyInstanceDefs

getAllInstanceDefs

getAnonInstanceDefs

clearAnonInstanceDefs

addUnknownInstance

addNamedInstance