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 WAA24701; Fri, 27 Jun 2003 22:50:41 +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 WAA24638 for ; Fri, 27 Jun 2003 22:50:39 +0200 (MET DST) Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [192.80.55.70]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h5RKocj28237 for ; Fri, 27 Jun 2003 22:50:38 +0200 (MET DST) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.12.9/8.12.8) with ESMTP id h5RKob6r010140 for ; Fri, 27 Jun 2003 16:50:37 -0400 (EDT) Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtpsrv2.mitre.org (8.12.9/8.12.8) with ESMTP id h5RKoZOD026893 for ; Fri, 27 Jun 2003 16:50:36 -0400 (EDT) Received: from mm106599.mitre.org (129.83.35.12) by mailhub1.mitre.org with SMTP id 3169720; Fri, 27 Jun 2003 16:50:32 -0400 Message-ID: <3EFCAE16.8060609@mitre.org> Date: Fri, 27 Jun 2003 16:50:30 -0400 From: Shaddin Doghmi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] syntax of private constructors in CVS version Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; matchings:01 labels:01 constructors:01 syntax:02 concrete:02 module:03 types:03 data:03 defining:04 cvs:05 pattern:06 manual:07 mitre:09 something:09 normally:10 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From the CVS version changes file, under language features: - Support for "private types", or more exactly concrete data types with private constructors or labels. These data types can be de-structured normally in pattern matchings, but values of these types cannot be constructed directly outside of their defining module. What is the syntax for those? is there some kind of documentation on the CVS server, like a development version of the manual or something? ------------------- 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