From: John M. S. <sk...@oz...> - 2003-06-17 03:12:43
|
People keep saying that they can cut and paste the Functor based Set and Map to get a polymorphic version using the builtin-compare, so that: let s = ExtSet.empty in let s = Ext.set add_element s 0 for example, works (the type is deduced like for a list or Hashtble, rather than being manually instantiated.) Is there a plan to put these into Extlib? Another option would be let s = ExtSet.make cmp in .. where cmp is suitable comparator. -- John Max Skaller, mailto:sk...@oz... snail:10/1 Toxteth Rd, Glebe, NSW 2037, Australia. voice:61-2-9660-0850 |