GHCi.Message
GHCi.Message
Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contents
A Message a
is a message that returns a value of type a
Constructors
data EvalStatus_ a b Source
Constructors
EvalComplete Word64 (EvalResult a) | |
EvalBreak Bool HValueRef Int Int (RemoteRef (ResumeContext b)) (RemotePtr CostCentreStack) |
Instances
Show a => Show (EvalStatus_ a b) | |
Generic (EvalStatus_ a b) | |
Binary a => Binary (EvalStatus_ a b) | |
type Rep (EvalStatus_ a b) | |
type EvalStatus a = EvalStatus_ a a Source
data EvalResult a Source
Constructors
EvalException SerializableException | |
EvalSuccess a |
Instances
Show a => Show (EvalResult a) | |
Generic (EvalResult a) | |
Binary a => Binary (EvalResult a) | |
type Rep (EvalResult a) | |
Constructors
EvalOpts | |
Fields
|
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.
Instances
data SerializableException Source
Constructors
EUserInterrupt | |
EExitCode ExitCode | |
EOtherException String |
Instances
Constructors
THException String | |
THComplete a |
Instances
data THResultType Source
Constructors
THExp | |
THPat | |
THType | |
THDec | |
THAnnWrapper |
Instances
data ResumeContext a Source
Constructors
ResumeContext | |
Fields
|
Constructors
QState | |
getMessage :: Get Msg Source
putMessage :: Message a -> Put Source
Constructors
Pipe | |
Fields
|
remoteCall :: Binary a => Pipe -> Message a -> IO a Source
readPipe :: Pipe -> Get a -> IO a Source
writePipe :: Pipe -> Put -> IO () Source
Orphan instances
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.0.1/docs/html/libraries/ghci-8.0.1/GHCi-Message.html