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 IAA24653; Thu, 30 Sep 2004 08:30:13 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA25605 for ; Thu, 30 Sep 2004 08:30:12 +0200 (MET DST) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i8U6UBj1000778 for ; Thu, 30 Sep 2004 08:30:11 +0200 Received: from ibm3.cicrp.jussieu.fr (ibm3.cicrp.jussieu.fr [134.157.15.3]) by shiva.jussieu.fr (8.12.11/jtpda-5.4) with ESMTP id i8U6U75x052491 for ; Thu, 30 Sep 2004 08:30:07 +0200 (CEST) X-Ids: 164 Received: from ibm1.cicrp.jussieu.fr (ibm1.cicrp.jussieu.fr [134.157.15.1]) by ibm3.cicrp.jussieu.fr (8.8.8/jtpda/mob-V8) with ESMTP id IAA62062 for ; Thu, 30 Sep 2004 08:27:48 +0200 Received: from localhost (fernande@localhost) by ibm1.cicrp.jussieu.fr (8.8.8/jtpda/mob-v8) with ESMTP id IAA581838 for ; Thu, 30 Sep 2004 08:27:37 +0200 X-Authentication-Warning: ibm1.cicrp.jussieu.fr: fernande owned process doing -bs Date: Thu, 30 Sep 2004 08:27:36 +0200 (DST) From: Diego Olivier Fernandez Pons X-X-Sender: fernande@ibm1 To: caml-list@inria.fr Subject: Re: [Caml-list] really HO Functions In-Reply-To: <87oejo4pnq.fsf@qrnik.zagroda> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at concorde with ID 415BA7F3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at shiva.jussieu.fr with ID 415BA7EF.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Antivirus: scanned by sophie at shiva.jussieu.fr X-Loop: caml-list@inria.fr X-Spam: no; 0.00; pons:01 pons:01 etu:99 caml-list:01 citeseer:01 okasaki:01 combinators:01 fernandez:01 fernandez:01 olivier:02 olivier:02 psu:96 functions:05 functions:05 functional:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Bonjour, > > > My question is: are there functions of level >= 2 used in > > > practice (e.g. (('a -> 'b -> 'a) -> 'a -> 'b list -> 'a) -> 'c)? > > > > I've just had a look through some real programs that I've written > > and the answer is definitely yes. I use them quite a lot. For >2 > > they are mainly 3, sometimes 4 and I haven't seen any >4. > > http://citeseer.ist.psu.edu/okasaki99functional.html I would't call that a real example. It is just an exercice on HOF and combinators more than a really practical application. Diego Olivier ------------------- 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