Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Blair Zajac <blair@orcaware.com>
To: Chris Hecker <checker@d6.com>
Cc: "Nicolas FRANCOIS (AKA El Bofo)" <nicolas.francois@free.fr>,
	Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Objects or modules ?
Date: Sat, 29 Jun 2002 23:44:54 -0700	[thread overview]
Message-ID: <3D1EA8E6.5775D1FA@orcaware.com> (raw)
In-Reply-To: <4.3.2.7.2.20020628234621.0346fbb0@mail.d6.com>

Chris Hecker wrote:
> 
> >Do you think this plan is correct ? Should I translate it to objects ? Is
> >there some drawbacks using modules or objects ?
> 
> This presentation by Xavier will get you started answering this question:
> 
> Objects and classes versus modules in Objective Caml
> http://pauillac.inria.fr/~xleroy/talks/icfp99.ps.gz

What does the symbol [[ ]] mean in the paper?

It's used to describe closures

[[f(a)]] = [[f].code([[f], [[a]])

object method calls

[[o#m(a)]] = [[o]].methsuite(m)([[o]], [[a]])

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
-------------------
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


  reply	other threads:[~2002-06-30  6:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-29  1:14 Nicolas FRANCOIS
2002-06-29  6:47 ` Chris Hecker
2002-06-30  6:44   ` Blair Zajac [this message]
2002-06-29 10:22 ` Markus Mottl
2002-07-03 23:16   ` Nicolas FRANCOIS
2002-07-05  0:02     ` Nicolas FRANCOIS
2002-07-01  1:19 ` Nicolas FRANCOIS
2002-07-02 17:24 ` Francois Pottier

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=3D1EA8E6.5775D1FA@orcaware.com \
    --to=blair@orcaware.com \
    --cc=caml-list@inria.fr \
    --cc=checker@d6.com \
    --cc=nicolas.francois@free.fr \
    /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