English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Doubly-linked list
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-08-21 (15:48)
From: Brian Rogoff <bpr@a...>
Subject: Re: Polymorphic recursion 9Was Re: [Caml-list] Doubly-linked list)
Diego Olivier Fernandez Pons writes:
> I do not agree with your analysis since I really do not believe anyone
> could think that polymorphic recursion is useless. 

Every feature in a programming language has to be evaluated in a large 
context. There are lot's of useful features that OCaml doesn't have. Would
you add them all? 

I never said polymorphic recursion was useless, and I'd like direct support
for it added, so your claim that my analysis suggests it's uselessness
indicates that I am communicating very badly. I'll just be quiet on this 

> Your trick 

Actually, Jacques Garrigue's trick


but I just noticed that OCaml 3.05 has the same first class polymorphism on 
records and since there was no use of class features like dynamic binding
that a record dictionary is even better. 

BTW, the Caml mailing list archive is a really great resource. 

-- Brian
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners