Subj : Re: any function to handle this kind of counting? To : comp.programming From : Alex Fraser Date : Sat Jul 30 2005 08:35 pm "Jon Harrop" wrote in message news:42ebb215$0$14673$ed2619ec@ptn-nntp-reader02.plus.net... > 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. Relatively few compared to "hundreds of lines". > > 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. Why does that make a difference? Alex .