Pretype#
Ltac2.Constr.Pretype
type expected_type = Pretyping.typing_constraintTyping constraints for pretyping.
module Flags : sig ... endval expected_istype : expected_typePretyping constraint for terms expected to be types.
val expected_oftype : constr -> expected_typePretyping constraint for terms expected to have a specific type.
val expected_without_type_constraint : expected_typeNo pretyping constraint.
val pretype :
Environ.env ->
Evd.evar_map ->
Flags.t ->
expected_type ->
preterm ->
Evd.evar_map * constrpretype env sigma flags type_constraint preterm pretypes the given preterm using the pretyping flags and expected type constraint.