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 UAA23518; Wed, 21 Nov 2001 20:16:38 +0100 (MET) 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 UAA22788 for ; Wed, 21 Nov 2001 20:16:37 +0100 (MET) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id fALJGZf18059 for ; Wed, 21 Nov 2001 20:16:35 +0100 (MET) Received: from localhost (patrick@localhost) by fledge.watson.org (8.11.6/8.11.5) with ESMTP id fALJGDm13909; Wed, 21 Nov 2001 14:16:13 -0500 (EST) (envelope-from patrick@watson.org) Date: Wed, 21 Nov 2001 14:16:12 -0500 (EST) From: Patrick M Doane To: Alain Frisch cc: caml-list@inria.fr Subject: Re: [Caml-list] New polymorphic variant syntax In-Reply-To: Message-ID: <20011121141110.N10520-100000@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, 21 Nov 2001, Alain Frisch wrote: > On Wed, 21 Nov 2001, Patrick M Doane wrote: > > > Having abbreviations like 'inline' works really well. I'm curious to know > > if there is a good way to represent the following information: > > > > > > > > This states that a FORM element can have any flow object except for FORM > > (i.e. nesting is not allowed). > > > > How difficult would it be to extend the polymorphic variant syntax to list > > tags that should not be included in the conjuction? Perhaps this already > > possible? Of course we can always revert to simply listing the variants. > > The type [> `Form of t] where t is an abstract type, for instance > should be ok for this, no ? I was thinking about that but isn't it rather confusing? It certainly disables the use of `Form, but it would be clearer if there was no mention of it at all. Patrick ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr