package coq-core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This module provides functions to explain the type errors.

val explain_type_error : Environ.env -> Evd.evar_map -> Pretype_errors.type_error -> Pp.t
val explain_pretype_error : Environ.env -> Evd.evar_map -> Pretype_errors.pretype_error -> Pp.t
val explain_refiner_error : Environ.env -> Evd.evar_map -> Logic.refiner_error -> Pp.t
type arity_error =
  1. | NonInformativeToInformative
  2. | StrongEliminationOnNonSmallType
  3. | WrongArity
val error_elim_explain : Sorts.family -> Sorts.family -> arity_error

Second argument is the familty of the inductive.

OCaml

Innovation. Community. Security.