From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA13502; Wed, 3 Jul 2002 19:43:58 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA14495 for ; Wed, 3 Jul 2002 19:43:57 +0200 (MET DST) Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id g63HhuH12847 for ; Wed, 3 Jul 2002 19:43:56 +0200 (MET DST) Received: (qmail 71946 invoked from network); 3 Jul 2002 17:43:54 -0000 Received: from adsl-host-sf-228.apexworld.net (HELO checkerlap.d6.com) (66.114.212.228) by relay1.pair.com with SMTP; 3 Jul 2002 17:43:54 -0000 X-pair-Authenticated: 66.114.212.228 Message-Id: <4.3.2.7.2.20020703102610.0248b280@mail.d6.com> X-Sender: checker@mail.d6.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 03 Jul 2002 10:29:09 -0700 To: caml-list@inria.fr From: Chris Hecker Subject: Re: [Caml-list] Re: generic programming In-Reply-To: <87r8il436y.fsf@ketanu.dyndns.org> References: <200207030246.WAA28665@dewberry.cc.columbia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > > Is generic programming possible with O'Caml? >Sure it is possible ! Is it, in the sense that Stepanov and those guys mean it? John Max Skaller and I were talking about this a long time ago, and I thought he posted this to the list but it turns out it was in email to me, but here goes anyway: "Sure. I have a 'problem' example: try to implement STL iterators in Caml. I don't have the expertise in Caml: I think this requires 'higher order functors'. Several people have attempted this, no one has succeeded that I know of." Perhaps he's reading and can explain some of the problems. Caml polymorphism&functors and C++ templates seem to have different properties, and I wonder what you can and can't write in each. Chris ------------------- 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