Parses an expression.
ModuleAgda-2.7.0.1Haskell2010
Agda.Interaction.BasicOps
- 48 values
- PackageAgda-2.7.0.1
- Exports48
- LanguageHaskell2010
- LicenceMIT
- SourceBasicOps.hs
After a give, redo termination etc. checks for function which was complemented.
give Try to fill hole by expression.
Returns the given expression unchanged
(for convenient generalization to refine).
elaborate_give Try to fill hole by elaborated expression.
refine Try to refine hole by expression e.
This amounts to successively try to give e, e ?, e ? ?, ...
Returns the successfully given expression.
Evaluate the given expression in the current environment
Modifier for interactive commands, specifying the amount of normalization in the output.
Modifier for the interactive computation command, specifying the mode of computation and result display.
Modifier for interactive commands, specifying whether safety checks should be ignored.
Converts an InteractionId to a MetaId.
Reify the boundary of an interaction point as something that can be shown to the user.
Goals and Warnings
Print open metas nicely.
Collecting the context of the given meta-variable.
getSolvedInteractionPoints True returns all solutions,
even if just solved by another, non-interaction meta.
getSolvedInteractionPoints False only returns metas that
are solved by a non-meta.
Create type of application of new helper function that would solve the goal.
Gives a list of names and corresponding types. This list includes not only the local variables in scope, but also the let-bindings.
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.
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.
Parse a name.
Check whether an expression is a (qualified) identifier.
moduleContents Returns the contents of the given module or record.
getRecordContents Returns the contents of the given record identifier.
getModuleContents Returns the contents of the given module.
Orphan instances
12 instancesReify ConstraintReify ProblemConstraintPretty c => Pretty (IPFace' c)Reify a => Reify (IPBoundary' a)ToConcrete a => ToConcrete (IPBoundary' a)(Pretty a, Pretty b) => Pretty (OutputConstraint' a b)(Pretty a, Pretty b) => Pretty (OutputConstraint a b)(Pretty a, Pretty b) => Pretty (OutputForm a b)(Pretty a, Pretty b) => PrettyTCM (OutputForm a b)(ToConcrete a, ToConcrete b) => ToConcrete (OutputConstraint' a b)(ToConcrete a, ToConcrete b) => ToConcrete (OutputConstraint a b)(ToConcrete a, ToConcrete b) => ToConcrete (OutputForm a b)