Version française
Home     About     Download     Resources     Contact us    
Browse thread
Compose function for multiple parameters ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Fabrice Marchant <fabricemarchant@f...>
Subject: Re: [Caml-list] Compose function for multiple parameters ?
> 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