Subj : Re: any function to handle this kind of counting? To : comp.programming From : Jon Harrop Date : Sat Jul 30 2005 06:53 pm Alex Fraser wrote: > "Jon Harrop" wrote in message > news:42eaec30$0$14690$ed2619ec@ptn-nntp-reader02.plus.net... > [snip] >> Well-written C equivalents using the non-trivial data structures would >> require hundreds of lines of code. > > Well-written C equivalents would consist of relatively few lines of code The C will not "consist of relatively few lines of code" compared to the OCaml. > and use existing implementations of the non-trivial data structures, > similar to the OCaml you posted. No, that is not similar to the OCaml I posted because the OCaml programs are self-contained and either use lists (which are native to the language) or data structures found in the OCaml stdlib. -- Dr Jon D Harrop, Flying Frog Consultancy http://www.ffconsultancy.com .