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

Quellcode-Bibliothek

© Kompilation durch diese Firma

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

Datei: HoTT_coq_081.v   Sprache: Coq

Original von: Coq©

Set Primitive Projections.
Set Implicit Arguments.
Set Universe Polymorphism.

Record category (A : Type) :=
  { ob :> Type;
    hom : ob -> ob -> Type
  }.

Record foo { A: Type } := { C : category A; x : ob C; y :> hom _ x x }.
Definition comp A (C : category A) (x : C) (f : hom _ x x) := f.

Definition bar A (f : @foo A) := @comp _ _ _ f.

(* Toplevel input, characters 0-42:
Error: Cannot find the target class. *)


¤ Dauer der Verarbeitung: 0.14 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