Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/output/   (Beweissystem des Inria Version 9.1.0©)  Datei vom 15.8.2025 mit Größe 686 B image not shown  

Quelle  Deprecation.v   Sprache: Coq

 
#[deprecated(since = "X.Y", note = "Use idtac instead.")]
 Ltac foo := idtac.

Fail #[deprecated(since="today", why="I said so")] Definition foo := 1.

Goal True.
foo.
Abort.

Set Warnings "-deprecated-since-X.Y".

Goal True.
foo.
Abort.

Set Warnings "+deprecated-since-X.Y".

Goal True.
Fail foo.
Abort.

#[deprecated(since = "library X.Y", note = "Use baz instead.")]
 Ltac bar := idtac.

Goal True.
bar.
Abort.

#[warn(note="hello")] Definition bar := 2.

Check bar.

#[warn(note="use less +s", cats="too many plus,fragile")] Notation "x +++ y" := (x + y) (at level 2).
#[warn(note="use less +s 2", cats="too-many-plus")] Notation "x ++ y" := (x + y).

Check 1 +++ 2.
Check 1 ++ 2.

94%


¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.