From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id AF9CEBB91 for ; Sun, 26 Dec 2004 10:45:23 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iBQ9jM8f016218 for ; Sun, 26 Dec 2004 10:45:23 +0100 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 KAA11859 for ; Sun, 26 Dec 2004 10:45:22 +0100 (MET) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iBQ9jLn2031815 for ; Sun, 26 Dec 2004 10:45:22 +0100 Received: by wproxy.gmail.com with SMTP id 71so279313wri for ; Sun, 26 Dec 2004 01:45:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=C5yG48XR8rRdXWxRTQtqeNV7jh9mY8KXHQP47bMAzQ0AJ/z1TcGlZnJy82Q6s4YD/12B3UQ870fdPgyvHhC+j9sLAf+XxQPfQyTubH9UeLAVuIqlTQ5q8rIcNPS89cT9KMW2cLorod1gSQ5UVyQFK6M8Fcl5gtYzEcQBULnmgl8= Received: by 10.54.40.76 with SMTP id n76mr300491wrn; Sun, 26 Dec 2004 01:45:21 -0800 (PST) Received: by 10.54.38.47 with HTTP; Sun, 26 Dec 2004 01:45:21 -0800 (PST) Message-ID: Date: Sun, 26 Dec 2004 10:45:21 +0100 From: henri dubois-ferriere Reply-To: henri dubois-ferriere To: Jacques Garrigue Subject: Re: [Caml-list] why aren't methods visible inside class definition Cc: briand@aracnet.com, caml-list@inria.fr In-Reply-To: <20041226.075525.106353835.garrigue@math.nagoya-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <16845.45096.849911.709868@soggy.deldotd.com> <20041226.075525.106353835.garrigue@math.nagoya-u.ac.jp> X-Miltered: at concorde with ID 41CE8832.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41CE8831.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; henridf:01 caml-list:01 functions:01 explicit:03 suppose:05 henri:05 henri:05 arguments:07 definition:07 object:09 similar:10 aren't:11 fields:12 inside:12 methods:12 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.0 X-Spam-Level: > Methods are seen as similar to records fields, so you must be explicit > about the object when calling them. > Also, methods may have no arguments, while functions must have at > least one. > Last, this distinction lets you use the same name for a field and a > method. This is sometimes comfortable. for a *value* (not field) and method i suppose henri