Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
A small class library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: A small class library

I wrote a few days ago that I had a small class library, to
demonstrate object-orientation in O'Caml/O'Labl. It contains the
following modules, based on their standard library equivalents


I made it available to the net.
You can find it at

The only standard thing in it is the name the library. It is quite
the opposite of a functional approach, since all classes work in an
imperative way, but I think that it's more comfortable than using
modules and functors.

Reactions ?
J'ai ecrit il y a quelques jours que j'avais une bibliotheque de
classes, pour utiliser des objets en O'Caml/O'Labl. Elle contient 8
modules, reprenant ceux de la bibliotheque standard.

Elle est a present disponible sur le reseau, aux adresses ci-dessus.

Elle n'est standard que par son nom. Je l'ai ecrite dans un style
imperatif, pour mettre en valeur l'identite' des objets. C'est assez
peu "fonctionnel", masi je trouve ca plus pratique que les modules et
foncteurs utilises d'habitude.

Des reactions ?

	Jacques Garrigue

Jacques Garrigue	Kyoto University
     <A HREF="">JG</A>