Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] What are Classes for in O'Caml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Didier Remy <Didier.Remy@i...>
Subject: Re: [Caml-list] What are Classes for in O'Caml?
> > I'm curious as to what classes are for in O'Caml (in view of the fact that
> > it already has abstract data types) ?
> 
> 
> You'll find some detailled answers to this question in the book
> ``Developping Applications With Objective Caml'', Part III.
> 
> The book is available online at
> <http://caml.inria.fr/oreilly-book/html/index.html>

You may also find some comparison of both styles in my APPSEM course notes:

    http://cristal.inria.fr/~remy/cours/appsem/

In particular, in Chapter 5:

    http://cristal.inria.fr/~remy/cours/appsem/ocaml-mixins.html

Didier

----------------

@InCollection{Remy!appsem,
  author =       "Didier R{\'{e}}my",
  title =        "{U}sing, {U}nderstanding, and {U}nraveling
                  the {OC}aml {L}anguage",
  booktitle =    "{A}pplied {S}emantics. Advanced Lectures. LNCS 2395.",
  publisher =    "Springer Verlag",
  year =         "2002",
  editor =    "Gilles Barthe",
  pages =     "413--537",
  isbn = {3-540-44044-5}
}

-------------------
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