Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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       
tim@fungible.com
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