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

Quelle  PrintModule.v   Sprache: Coq

 
(* Bug #2169 *)

Module FOO.

Module M.
 Definition T := nat.
End M.

Module Type S.
 Parameter T : Set.
End S.

Module N : S with Definition T := nat := M.

Print Module N.

Set Short Module Printing.
Print Module N.
Unset Short Module Printing.

End FOO.

Module BAR.

Module K. End K.
Module Type KS. End KS.

Module M.
 Module T := K.
End M.

Module Type S.
 Declare Module T : KS.
End S.

Module N : S with Module T := K := M.

Print Module N.

Set Short Module Printing.
Print Module N.
Unset Short Module Printing.

End BAR.

(* Bug #4661 *)

Module QUX.

Module Type Test.
  Parameter t : Type.
End Test.

Module Type Func (T:Test).
  Parameter x : T.t.
End Func.

Module Shortest_path (T : Test).
Print Func.
End Shortest_path.

End QUX.

Module A.
Variant I := C : nat -> I.
Record R := { n : nat }.
End A.

Print Module A.

100%


¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet)  ¤

*© 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.