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 690 B image not shown  

Quelle  onlyprinting.v   Sprache: Coq

 
Module A.

Reserved Notation "x :-) y" (at level 50, only printing).

Notation "x :-) y" := (plus x y).

Check 0 + 0.

End A.

Module B.

Notation "x +_a y" := (plus x y) (at level 50) : nat_scope.
Check 1 +_a 2.
Notation "x +_b y" := (plus x y) (at level 50) : nat_scope.
Check 1 +_a 2.
Check 1 +_b 2.
Notation "x +_c y" := (plus x y) (at level 50, only printing) : nat_scope.
Check 1 +_a 2.
Check 1 +_b 2.
Print Scope nat_scope.
Disable Notation "_ +_c _" : nat_scope.
Check 1 +_a 2.
Disable Notation "x +_b y" : nat_scope.
Check 1 +_a 2.
Disable Notation "_ +_a _" (only printing) : nat_scope.
Check 1 +_a 2.
Enable Notation "a +_c b" (only printing) : nat_scope.
Check 1 +_a 2.

End B.

95%


¤ 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.