HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleghci-9.10.3Haskell2010

GHCi.Message

Remote GHCi message types and serialization.

For details on Remote GHCi, see Note [Remote GHCi] in compilerGHCRuntime/Interpreter.hs.

  • 19 types
  • 10 values
  • Packageghci-9.10.3
  • Exports29
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceMessage.hs
datadata Message a where
#

A Message a is a message that returns a value of type a. These are requests sent from GHC to the server.

Constructors

Instances1Show
datadata THMessage a where
#

Messages sent back to GHC from GHCi.TH, to implement the methods of Quasi. For an overview of how TH works with Remote GHCi, see Note [Remote Template Haskell] in GHCi.TH.

Instances1Show
datadata QResult a
#

Template Haskell return values

Constructors

Instances4Show, Generic, Binary, Rep
datadata EvalStatus_ a b
#
Instances4Show, Generic, Binary, Rep
datadata EvalResult a
#
Instances4Show, Generic, Binary, Rep
datadata EvalOpts
#
Instances4Show, Generic, Binary, Rep
datadata EvalExpr a
#

We can pass simple expressions to EvalStmt, consisting of values and application. This allows us to wrap the statement to be executed in another function, which is used by GHCi to implement :set args and :set prog. It might be worthwhile to extend this little language in the future.

Constructors

Instances4Show, Generic, Binary, Rep
datadata EvalBreakpoint
#

Constructors

Instances4Show, Generic, Binary, Rep
Instances4Show, Generic, Binary, Rep
datadata THResult a
#
Instances4Show, Generic, Binary, Rep
datadata THResultType
#
Instances5Enum, Show, Generic, Binary, Rep
datadata QState
#

The server-side Template Haskell state. This is created by the StartTH message. A new one is created per module that GHC typechecks.

Constructors

Instances1Show
datadata BreakModule
#

A dummy type that tags the pointer to a breakpoint's ModuleName, because that type isn't available here.

Orphan instances

14 instances