From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA12593; Fri, 30 Aug 2002 19:09:50 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA12492 for ; Fri, 30 Aug 2002 19:09:49 +0200 (MET DST) Received: from lobus.fungible.com (adsl-64-161-114-6.dsl.snfc21.pacbell.net [64.161.114.6]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g7UH9lD26864 for ; Fri, 30 Aug 2002 19:09:48 +0200 (MET DST) Received: by lobus.fungible.com (Postfix, from userid 1000) id 724E97F63; Fri, 30 Aug 2002 10:09:43 -0700 (PDT) Date: Fri, 30 Aug 2002 10:08:37 -0700 From-Tims-Fingers: true To: j.prevost@cs.cmu.edu Cc: caml-list@inria.fr In-reply-to: <86fzww2ty3.fsf@laurelin.dementia.org> (message from John Prevost on 30 Aug 2002 12:27:16 -0400 (68.560 UMT)) Subject: Re: [Caml-list] Polymorphic variants as type parameters References: <20020830155016.90B527F63@lobus.fungible.com> <86fzww2ty3.fsf@laurelin.dementia.org> Message-Id: <20020830170943.724E97F63@lobus.fungible.com> From: tim@fungible.com (Tim Freeman) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >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