HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

  • PackageAgda-2.7.0.1
  • Exports75
  • LanguageHaskell2010
  • LicenceMIT
  • SourceState.hs
valueresetState :: TCM ()
#

Resets the non-persistent part of the type checking state.

valuefreshTCM :: TCM a -> TCM (Either TCErr a)
#

A fresh TCM instance.

The computation is run in a fresh state, with the exception that the persistent state is preserved. If the computation changes the state, then these changes are ignored, except for changes to the persistent state. (Changes to the persistent state are also ignored if errors other than type errors or IO exceptions are encountered.)

Lens for persistent states and its fields

5 declarations

Scope

12 declarations
valuelocalScope :: TCM a -> TCM a
#

Discard any changes to the scope by a computation.

Signature

0 declarations

Lens for stSignature and stImports

Update a possibly imported definition. Warning: changes made to imported definitions (during type checking) will not persist outside the current module. This function is currently used to update the compiled representation of a function during compilation.

Modifiers for rewrite rules

modify methods for the signature

Modifiers for parts of the signature

Top level module

5 declarations

Foreign code

1 declaration

Interaction output callback

3 declarations

Pattern synonyms

7 declarations

Benchmark

4 declarations

Instance definitions

6 declarations