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 HAA25591; Fri, 4 Apr 2003 07:35:40 +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 HAA25499 for ; Fri, 4 Apr 2003 07:35:39 +0200 (MET DST) Received: from mail.cql.com (jael.cql.com [216.19.209.133] (may be forged)) by concorde.inria.fr (8.11.1/8.11.1) with SMTP id h345Zc508862 for ; Fri, 4 Apr 2003 07:35:38 +0200 (MET DST) Received: (qmail 26721 invoked from network); 4 Apr 2003 06:45:41 -0000 Received: from unknown (HELO amethyst.cql.com) (192.168.1.14) by mail.cql.com with SMTP; 4 Apr 2003 06:45:41 -0000 Date: Thu, 3 Apr 2003 22:35:36 -0700 From: Seth Kurtzberg To: caml-list@inria.fr Subject: [Caml-list] Objects and Initializers Message-Id: <20030403223536.0ddb42b2.seth@cql.com> Organization: M. I. S. Corp. X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; 661:99 480:98 mutable:01 objects:02 object:03 assign:03 arguments:03 docs:03 variables:06 initializers:09 corp:90 values:11 hello:15 there:16 seth:83 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, list: >>From the docs it appears that object initializers cannot take arguments. Is there a way to accomplish the same thing? I want to assign values to instance variables without having to make them mutable. -- Seth Kurtzberg MIS Corp 480-661-1849 seth@cql.com ------------------- 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