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 UAA22913; Wed, 21 Nov 2001 20:06:28 +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 UAA22851 for ; Wed, 21 Nov 2001 20:06:25 +0100 (MET) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id fALJ6Of17934 for ; Wed, 21 Nov 2001 20:06:24 +0100 (MET) Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id fALJ6NU30868 ; Wed, 21 Nov 2001 20:06:23 +0100 (CET) Received: from localhost (frisch@localhost) by clipper.ens.fr (8.9.2/jb-1.1) id UAA08778 ; Wed, 21 Nov 2001 20:06:22 +0100 (MET) Date: Wed, 21 Nov 2001 20:06:22 +0100 (MET) From: Alain Frisch To: Patrick M Doane cc: Subject: Re: [Caml-list] New polymorphic variant syntax In-Reply-To: <20011121122117.A10520-100000@fledge.watson.org> Message-ID: 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, 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 ? -- Alain ------------------- 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