Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
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 Archives:
Bug reports: FAQ:
Beginner's list: