caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: henri dubois-ferriere <henridf@gmail.com>
To: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
Cc: briand@aracnet.com, caml-list@inria.fr
Subject: Re: [Caml-list] why aren't methods visible inside class definition
Date: Sun, 26 Dec 2004 10:45:21 +0100	[thread overview]
Message-ID: <d61254fb04122601452780fa1e@mail.gmail.com> (raw)
In-Reply-To: <20041226.075525.106353835.garrigue@math.nagoya-u.ac.jp>

> 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


      reply	other threads:[~2004-12-26  9:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-25 18:23 briand
2004-12-25 22:55 ` [Caml-list] " Jacques Garrigue
2004-12-26  9:45   ` henri dubois-ferriere [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d61254fb04122601452780fa1e@mail.gmail.com \
    --to=henridf@gmail.com \
    --cc=briand@aracnet.com \
    --cc=caml-list@inria.fr \
    --cc=garrigue@math.nagoya-u.ac.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).