package rocq-runtime
Module Hints.Hint_dbSource
All hints which have no pattern. * secvars represent the set of section variables that * can be used in the hint.
Source
val map_all :
Environ.env ->
secvars:Names.Id.Pred.t ->
Names.GlobRef.t ->
t ->
FullHint.t listAll hints associated to the reference
Source
val map_eauto :
Environ.env ->
Evd.evar_map ->
secvars:Names.Id.Pred.t ->
(Names.GlobRef.t * EConstr.constr array) ->
EConstr.constr ->
t ->
FullHint.t list with_modeAll hints associated to the reference, respecting modes if evars appear in the arguments and using the discrimination net. Returns a ModeMismatch if there are declared modes and none matches.
Source
val map_eauto_modes :
Environ.env ->
Evd.evar_map ->
secvars:Names.Id.Pred.t ->
(Names.GlobRef.t * EConstr.constr array) ->
EConstr.constr ->
t ->
(mode_restriction NeList.t option * FullHint.t list) optionAs map_eauto, but returns the nonempty list of distinct matching mode restrictions in lookup order, including the evars frozen by each restriction. The entire result is None when modes are declared but no mode matches. The first component of the result is None if no modes are declared.
Source
val map_auto :
Environ.env ->
Evd.evar_map ->
secvars:Names.Id.Pred.t ->
(Names.GlobRef.t * EConstr.constr array) ->
EConstr.constr ->
t ->
FullHint.t listAll hints associated to the reference. Precondition: no evars should appear in the arguments, so no modes are checked.
Source
val iter :
(Names.GlobRef.t option -> hint_mode array list -> FullHint.t list -> unit) ->
t ->
unitSource
val fold :
(Names.GlobRef.t option ->
hint_mode array list ->
FullHint.t list ->
'a ->
'a) ->
t ->
'a ->
'a