products/sources/formale sprachen/Coq/test-suite/output image not shown  

Quellcode-Bibliothek

© Kompilation durch diese Firma

[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]

Datei: ShowMatch.v   Sprache: Coq

Original von: Coq©

(* Bug 5546 complained about unqualified constructors in Show Match output, 
   when qualification is needed to disambiguate them
*)


Module A.
  Inductive foo := f.
  Show Match foo. (* no need to disambiguate *)
End A. 

Module B.
  Inductive foo := f.
  (* local foo shadows A.foo, so constructor "f" needs disambiguation *)
  Show Match A.foo. 
End B.

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet)  ¤





Download des
Quellennavigators
Download des
sprechenden Kalenders

in der Quellcodebibliothek suchen




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.


Bot Zugriff