(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* evar_map -> Id.t -> 'a (** Move destination for hypothesis. *) type 'id move_location = | MoveAfter of 'id (** Move to the position directly _after_ a hypothesis. *) | MoveBefore of 'id (** Move to the position directly _before_ a hypothesis. *) | MoveFirst (** Move to the first position in the context. *) | MoveLast (** Move to the last position in the context. This is the default used by [intro]. *) (** Print a [move_location]. *) val pr_move_location : ('a -> Pp.t) -> 'a move_location -> Pp.t val convert_hyp : check:bool -> reorder:bool -> Environ.env -> evar_map -> EConstr.named_declaration -> Environ.named_context_val type cannot_move_hyp exception CannotMoveHyp of cannot_move_hyp val move_hyp_in_named_context : Environ.env -> Evd.evar_map -> Id.t -> Id.t move_location -> Environ.named_context_val -> Environ.named_context_val val insert_decl_in_named_context : Environ.env -> Evd.evar_map -> EConstr.named_declaration -> Id.t move_location -> Environ.named_context_val -> Environ.named_context_val