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

ModuleAgda-2.7.0.1Haskell2010

Agda.Interaction.Base

  • 20 types
  • 7 values
  • PackageAgda-2.7.0.1
  • Exports27
  • LanguageHaskell2010
  • LicenceMIT
  • SourceBase.hs
datadata CommandState
#

Auxiliary state of an interactive computation.

Constructors

  • CommandState
    • theInteractionPoints :: [InteractionId]

      The interaction points of the buffer, in the order in which they appear in the buffer. The interaction points are recorded in theTCState, but when new interaction points are added by give or refine Agda does not ensure that the ranges of later interaction points are updated.

    • theCurrentFile :: Maybe CurrentFile

      The file which the state applies to. Only stored if the module was successfully type checked (potentially with warnings).

    • optionsOnReload :: CommandLineOptions

      Reset the options on each reload to these.

    • oldInteractionScopes :: !OldInteractionScopes

      We remember (the scope of) old interaction points to make it possible to parse and compute highlighting information for the expression that it got replaced by.

    • commandQueue :: !CommandQueue

      The command queue.

      This queue should only be manipulated by initialiseCommandQueue and maybeAbort.

Instances2ToJSON, EncodeTCM
datadata CurrentFile
#

Information about the current main module.

Constructors

Instances3Show, ToJSON, EncodeTCM
datadata Command' a
#

A generalised command type.

Constructors

  • Command !a

    A command.

  • Done

    Stop processing commands.

  • Error String

    An error message for a command that could not be parsed.

Instances1Show

IOTCM commands.

The commands are obtained by applying the functions to the current top-level module name, if any. Note that the top-level module name is not used by independent commands. For other commands the top-level module name should be known.

datadata CommandQueue
#

Command queues.

Constructors

  • CommandQueue
    • commands :: !TChan (Integer, Command)

      Commands that should be processed, in the order in which they should be processed. Each command is associated with a number, and the numbers are strictly increasing. Abort commands are not put on this queue.

    • abort :: !TVar (Maybe Integer)

      When this variable is set to Just n an attempt is made to abort all commands with a command number that is at most n.

datadata Interaction' range
#

Constructors

Instances5Functor, Foldable, Traversable, Read, Show
datadata IOTCM' range
#
Instances5Functor, Foldable, Traversable, Read, Show
datadata Remove
#

Used to indicate whether something should be removed or not.

Instances2Read, Show
  • Read RemoveDefined in Agda-2.7.0.1 · Agda.Interaction.Base
  • Show RemoveDefined in Agda-2.7.0.1 · Agda.Interaction.Base
datadata Rewrite
#

Ordered ascendingly by degree of normalization.

Instances6Eq, Ord, Read, Show, ToJSON, EncodeTCM
  • Eq RewriteDefined in Agda-2.7.0.1 · Agda.Interaction.Base
  • Ord RewriteDefined in Agda-2.7.0.1 · Agda.Interaction.Base
  • Read RewriteDefined in Agda-2.7.0.1 · Agda.Interaction.Base
  • Show RewriteDefined in Agda-2.7.0.1 · Agda.Interaction.Base
  • ToJSON RewriteDefined in Agda-2.7.0.1 · Agda.Interaction.JSONTop · orphan
  • EncodeTCM RewriteDefined in Agda-2.7.0.1 · Agda.Interaction.JSONTop · orphan
datadata UseForce
#

Constructors

Instances3Eq, Read, Show
  • Eq UseForceDefined in Agda-2.7.0.1 · Agda.Interaction.Base
  • Read UseForceDefined in Agda-2.7.0.1 · Agda.Interaction.Base
  • Show UseForceDefined in Agda-2.7.0.1 · Agda.Interaction.Base
datadata OutputForm_boot tcErr a b
#
Instances6Functor, Pretty, PrettyTCM, ToConcrete, EncodeTCM, ConOfAbs
datadata OutputConstraint_boot tcErr a b
#
Instances4Functor, Pretty, ToConcrete, ConOfAbs
datadata OutputConstraint' a b
#

A subset of OutputConstraint.

Constructors

Instances3Pretty, ToConcrete, ConOfAbs

Orphan instances

6 instances