HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

ModuleAgda-2.8.0.2Haskell2010

Agda.TypeChecking.Unquote

  • 9 types
  • 1 class
  • 25 values
  • PackageAgda-2.8.0.2
  • Exports35
  • 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

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

Call a trusted executable with the given arguments and input.

Returns the exit code, stdout, and stderr.