Browse thread
[Caml-list] generic programming
-
Oleg
- Johan Baltié
- Ketanu
- Jun P.FURUSE
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jun P.FURUSE <Jun.Furuse@i...> |
| Subject: | Re: [Caml-list] generic programming |
Hello,
> Is generic programming possible with O'Caml? Suppose I want to find the
> Pearson correlation between two sets of real numbers represented as sets,
> arrays, big_arrays, maps, stacks, queues or lists. Is it possible to have one
> piece of code that handles all of these containers, a generic function of
> some sort? (Iteration is all that is necessary in the Pearson correlation
> example)
You may be interested in an experimental implementation of generic
values on O'Caml, found at
http://pauillac.inria.fr/~furuse/generics/
Regards,
--
Jun
-------------------
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