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.Interaction.BasicOps

  • 48 values
  • PackageAgda-2.7.0.1
  • Exports48
  • LanguageHaskell2010
  • LicenceMIT
  • SourceBasicOps.hs
valuegive
  1. :: UseForce

    Skip safety checks?

  2. -> InteractionId

    Hole.

  3. -> Maybe Range
  4. -> Expr

    The expression to give.

  5. -> TCM Expr

    If successful, the very expression is returned unchanged.

#

Try to fill hole by expression.

Returns the given expression unchanged (for convenient generalization to refine).

valuerefine
  1. :: UseForce

    Skip safety checks when giving?

  2. -> InteractionId

    Hole.

  3. -> Maybe Range
  4. -> Expr

    The expression to refine the hole with.

  5. -> TCM Expr

    The successfully given expression.

#

Try to refine hole by expression e.

This amounts to successively try to give e, e ?, e ? ?, ... Returns the successfully given expression.

valueoutputFormId :: OutputForm a b -> b
#

Modifier for interactive commands, specifying whether safety checks should be ignored.

valuetypeInCurrent :: Rewrite -> Expr -> TCM Expr
#

Returns the type of the expression in the current environment We wake up irrelevant variables just in case the user want to invoke that command in an irrelevant context.

The intro tactic.

Returns the terms (as strings) that can be used to refine the goal. Uses the coverage checker to find out which constructors are possible.

valueatTopLevel :: TCM a -> TCM a
#

Runs the given computation as if in an anonymous goal at the end of the top-level module.

Sets up current module, scope, and context.

valuemoduleContents
  1. :: Rewrite

    How should the types be presented?

  2. -> Range

    The range of the next argument.

  3. -> String

    The module name.

  4. -> TCM ([Name], Telescope, [(Name, Type)])

    Module names, context extension needed to print types, names paired up with corresponding types.

#

Returns the contents of the given module or record.

valuegetRecordContents
  1. :: Rewrite

    Amount of normalization in types.

  2. -> Expr

    Expression presumably of record type.

  3. -> TCM ([Name], Telescope, [(Name, Type)])

    Module names, context extension, names paired up with corresponding types.

#

Returns the contents of the given record identifier.

Orphan instances

12 instances