From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 9FFDEBBAF for ; Sat, 31 May 2008 12:03:55 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnMAALC/QEjUGyoemmdsb2JhbACBVZBcAQEBAQEIBQgHEQOVPYVp X-IronPort-AV: E=Sophos;i="4.27,570,1204498800"; d="scan'208";a="13300197" Received: from smtp4-g19.free.fr ([212.27.42.30]) by mail3-smtp-sop.national.inria.fr with ESMTP; 31 May 2008 12:03:55 +0200 Received: from smtp4-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp4-g19.free.fr (Postfix) with ESMTP id 1F93A3EA0C9 for ; Sat, 31 May 2008 12:03:55 +0200 (CEST) Received: from localhost.localdomain (c5850-a2-3-62-147-8-114.dial.proxad.net [62.147.8.114]) by smtp4-g19.free.fr (Postfix) with ESMTP id D6DA03EA10C for ; Sat, 31 May 2008 12:03:53 +0200 (CEST) Date: Sat, 31 May 2008 10:10:42 +0200 From: Fabrice Marchant To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Compose function for multiple parameters ? Message-ID: <20080531101042.25d046ee@free.fr> In-Reply-To: <20080531092406.093bd147@free.fr> References: <20080531092406.093bd147@free.fr> X-Mailer: Claws Mail 3.2.0 (GTK+ 2.12.9; i486-pc-linux-gnu) X-Face: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; caml-list:01 parameters:03 parameters:03 function:08 function:08 fabrice:08 fabrice:08 compose:08 compose:08 cleaner:09 write:17 would:18 that:23 multiple:27 the:27 > It would be cooler to write the later on the basis of : > (( <<- ) (( <<- ) f)) g Sorry, I just discover that this is cleaner : (( <<- ) <<- ( <<- )) and extendable to any number of parameters. (( <<- ) <<- ( <<- ) <<- ( <<- )) to compose with a 3 parameters function. Fabrice