A small class library

Jacques Garrigue (garrigue@kaba.or.jp)
Wed, 9 Oct 1996 20:05:53 +0900

From: Jacques Garrigue <garrigue@kaba.or.jp>
Date: Wed, 9 Oct 1996 20:05:53 +0900
Message-Id: <9610091105.AA07370@erg.kaba.or.jp>
To: caml-list@pauillac.inria.fr
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

Oset
Omap
Ohashtbl
Ostack
Oqueue
Ostream
Ogenlex
Oformat

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

http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/classes/
ftp://ftp.kurims.kyoto-u.ac.jp/pub/lang/olabl/ocaml-classes-1.02.tar.gz
ftp://ftp.kurims.kyoto-u.ac.jp/pub/lang/olabl/olabl-classes-1.02.tar.gz

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 garrigue@kurims.kyoto-u.ac.jp
<A HREF="http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/">JG</A>