HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

ModuleAgda-2.8.0.2Haskell2010

Agda.TypeChecking.Unquote

Contents
  1. Trusted executables
Synopsis
  • 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.

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