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

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 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.