Set Universe Polymorphism. Set Printing Universes. Inductive list {T} : Type := | cons (t : T) : list -> list. (* who needs nil anyway? *) Arguments list : clear implicits.
Fixpoint map {A B} (f: A -> B) (l : list A) : list B := let '(cons t l) := l in cons (f t) (map f l).
About map@{_ _}. (* Two universes, as expected. *)
Definition map_Set@{} {A B : Set} := @map A B.
Definition map_Prop@{} {A B : Prop} := @map A B.
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet)
¤
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.