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: Jonathan Roewen <jonathan.roewen@g...>
Subject: Re: [Caml-list] C++ templates to OCaml
> I'd venture that you probably want functions and/or modules. Without any
> detail, though, it's difficult to say more.

Ok. Well, I want to rewrite the antigrain geometry library in OCaml
(www.antigrain.com). They make extensive use of chaining together
template classes. So, I'd use a module to represent each template
class, and polymorphic functions?