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] Polymorphic variants as type parameters
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-08-30 (17:09)
From: tim@f...
Subject: Re: [Caml-list] Polymorphic variants as type parameters
>The problem is that when you say [> `X | `Y | `Z] you describe a type
>that contains at *least* `X, `Y, and `Z, and possibly others.

Thanks much.  I had figured that since the `X | `Y | `Z was on the
right side of the ">", it was the one that was supposed to be lesser,
like the "2" in 3 > 2.  Tricky syntax.

Tim Freeman       
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D  7180 76DF FE00 34B1 5C78 
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