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] extensible records again
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-03-22 (05:54)
From: Michael Vanier <mvanier@c...>
Subject: Re: [Caml-list] extensible records again
> From: skaller <skaller@users.sourceforge.net>
> Date: 22 Mar 2004 14:31:16 +1100
> On Mon, 2004-03-22 at 09:34, Michael Vanier wrote:
> > If I understand you correctly, then you're arguing that *all* my "core
> > types" should be implemented using polymorphic variants.
> I use Polymorphic Variants almost exclusively in Felix.
> They're more flexible but also give nastier error messages.
> The main downside is that to make covariant subtyping
> you need to use fixpoints, which is fine for a single
> parameter but unworkable for a more complex term
> structure.

Forgive my ignorance, but what do you mean by this?


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