Browse thread
Compose function for multiple parameters ?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2008-06-01 (08:29) |
From: | Florent Monnier <fmonnier@l...> |
Subject: | Re: [Caml-list] Compose function for multiple parameters ? |
Fabrice Marchant a écrit : ... > Defining the 2 ops : > let ( <<- ) f g x = f (g x) > let ( <<-- ) f g x y = f (g x y) > > is it better ? let ( <>- ) f g x = f (g x) let ( <><>- ) f g x y = f (g x y) let ( <><><>- ) f g x y z = f (g x y z) perhaps? (more easy to count the number of caracters with this kind of pattern) -- Cheers Florent