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

ModuleAgda-2.7.0.1Haskell2010

Agda.TypeChecking.Unquote

  • 9 types
  • 1 class
  • 28 values
  • PackageAgda-2.7.0.1
  • Exports38
  • LanguageHaskell2010
  • LicenceMIT
  • SourceUnquote.hs
classclass Unquote a where
#

Methods

Instances26Unquote, …

We do a little bit of work here to make it possible to generate nice layout for multi-line error messages. Specifically we split the parts into lines (indicated by n in a string part) and vcat all the lines.

valueunquoteTCM :: Term -> Term -> UnquoteM Term
#

Argument should be a term of type Term → TCM A for some A. Returns the resulting term of type A. The second argument is the term for the hole, which will typically be a metavariable. This is passed to the computation (quoted).

Trusted executables

10 declarations
valuetcExec :: ExeName -> [ExeArg] -> StdIn -> TCM Term
#

Call a trusted executable with the given arguments and input.

Returns the exit code, stdout, and stderr.