(* This example used to emphasize the absence of LEGO-style universe polymorphism;Matthieu'simprovementsoftypingon2011/3/11now makes(apparently)thatAmokrane'sautomaticeta-expansioninthe coercionmechanismworks;thismakesitsillustrationasa"weakness" ofuniversepolymorphismobsolete(examplesubmittedbyRandyPollack).
Parameter K : forall T : Type, T -> T. Check (K (forall T : Type, T -> T) K).
(* notethattheinferredtermis
"(K (forall T (* u1 *) : Type, T -> T) (fun T:Type(* u1 *) => K T))"
which is not eta-equivalent to "(K (forall T : Type, T -> T) K"
because the eta-expansion of the latter "(K (forall T : Type, T -> T) (fun T:Type (* u2 *) => K T)"
assuming K of type"forall T (* u2 *) : Type, T -> T"
*)
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.8 Sekunden
(vorverarbeitet am 2026-09-28)
¤
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.