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
[Caml-list] generic programming
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Oleg <oleg_inconnu@m...>
Subject: [Caml-list] generic programming

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 


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: