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 MAA05969; Wed, 11 Jul 2001 12:22:15 +0200 (MET DST) 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 MAA05965 for ; Wed, 11 Jul 2001 12:22:14 +0200 (MET DST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f6BAMC915660 for ; Wed, 11 Jul 2001 12:22:12 +0200 (MET DST) Received: from localhost (suiren.kurims.kyoto-u.ac.jp [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.9.3/3.7W) with ESMTP id TAA19157; Wed, 11 Jul 2001 19:22:05 +0900 (JST) To: sam@pcuf.fi Cc: caml-list@inria.fr Subject: Re: [Caml-list] Fully qualified polymorphic variants In-Reply-To: <200107111019.f6BAJ0T11433@pcuf.fi> References: <200107111019.f6BAJ0T11433@pcuf.fi> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010711192204J.garrigue@kurims.kyoto-u.ac.jp> Date: Wed, 11 Jul 2001 19:22:04 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > I've been trying to use polymorphic variants with fully qualified names, with no luck. > > I've tried the possibilities obvious to me, like: (example of using Pcre) > `Pcre.CASELESS > Pcre.`CASELESS > `(Pcre.CASELESS) > Pcre.(`CASELESS) The point about polymorphic variants is that you don't have to qualify them! The solution is `CASELESS, independent of the context. Jacques Garrigue ------------------- 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