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 SAA16891; Tue, 29 Jan 2002 18:57:00 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA16977 for ; Tue, 29 Jan 2002 18:56:59 +0100 (MET) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g0THuwn19545 for ; Tue, 29 Jan 2002 18:56:58 +0100 (MET) Received: from localhost (patrick@localhost) by fledge.watson.org (8.11.6/8.11.5) with ESMTP id g0THuiC41697; Tue, 29 Jan 2002 12:56:44 -0500 (EST) (envelope-from patrick@watson.org) Date: Tue, 29 Jan 2002 12:56:43 -0500 (EST) From: Patrick M Doane To: David Monniaux cc: Liste CAML Subject: Re: [Caml-list] module type constraints In-Reply-To: Message-ID: <20020129125545.T39799-100000@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk The [> `A] type has an implicit type variable which must be bound on the left hand side. This should work: type 'a t =3D 'a constraint 'a =3D [> `A] Patrick On Tue, 29 Jan 2002, David Monniaux wrote: > Why isn't it possible to use module type constraints such as: > with type t =3D [> `A] ? > > > David Monniaux http://www.di.ens.fr/~monniaux > Laboratoire d'informatique de l'=C9cole Normale Sup=E9rieure, > Paris, France > > ------------------- > Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.f= r/FAQ/ > To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.in= ria.fr > ------------------- 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