English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Objects or modules ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-06-30 (06:45)
From: Blair Zajac <blair@o...>
Subject: Re: [Caml-list] Objects or modules ?
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]])


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