(** Bug 4720 : extraction and "with" in module type *)
ModuleType A. Parameter t : Set. End A.
Module A_instance <: A. Definition t := nat. End A_instance.
Module A_private : A. Definition t := nat. End A_private.
ModuleType B. End B.
ModuleType C (b : B). DeclareModule a : A. End C.
Module WithMod (a' : A) (b' : B) (c' : C b' withModule a := A_instance). End WithMod.
Module WithDef (a' : A) (b' : B) (c' : C b' withDefinition a.t := nat). End WithDef.
Module WithModPriv (a' : A) (b' : B) (c' : C b' withModule a := A_private). End WithModPriv.
(* The initial bug report was concerning the extraction of WithModPriv inCoq8.4,whichwassuboptimal:itwascompiling,butcouldhavebeen turnedintosomefaultycodesinceA_privateandc'.awerenotseenas identicalbytheextraction.
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 und die Messung sind noch experimentell.