From Ltac2 RequireImport Ltac2 Constr. Import Constr.Unsafe.
Goal True. let t := open_constr:(_ :> False) in match kind t with
| Evar e _ => Control.new_goal e > [refine 'I|]
| _ => Control.throw Not_found end.
Show Existentials. (* Existential 1 = ?Goal : [ |- False] (shelved) *) Abort.
Goal True. let t := unshelve open_constr:(_ :> False) in
Control.extend [Control.shelve] (fun () => ()) []; match kind t with
| Evar e _ => Control.new_goal e > [refine 'I|]
| _ => Control.throw Not_found end.
Show Existentials. Abort.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.