Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] C++ templates to OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Benjamin Geer <benjamin.geer@g...>
Subject: Re: [Caml-list] C++ templates to OCaml
On 19/06/05, Jonathan Roewen <jonathan.roewen@gmail.com> wrote:
> So, I'd use a module to represent each template
> class, and polymorphic functions?

The book _Developing Applications with Objective Caml_ gives a good
comparison of modules, functors and classes, which might help you find
the best approach for your library.  See chapters 14, 15 and 16:

http://caml.inria.fr/pub/docs/oreilly-book/html/index.html

Ben