STM package:ghc

Are we in a do expression or a monad comprehension? This datatype is only used to report this context to the user in error messages.
do block Statement
Pattern of a do-stmt, list comprehension, pattern guard, etc
context of the do expression, used in pprArg
The anchor for a stmtlist is based on either the location or the first semicolon annotion.
Run a statement in the current interactive context.
Like execStmt, but takes a parsed statement as argument. Useful when doing preprocessing on the AST before execution, e.g. in GHCi (see GHCi.UI.runStmt).
Returns True if passed string is a statement.