Browse thread
Simple idea for making a function infix
[
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: | -- (:) |
| From: | Till Varoquaux <till.varoquaux@g...> |
| Subject: | Re: [Caml-list] Simple idea for making a function infix |
First of all, sorry for the garbage on top of my last mail: my computer hates me -to Jean Christophe: indeed, that's actually the composition function..... -to skaller: Hum, I *should* have tested more thoroughly my "solution": let ( /* ) x y = y x and ( */ ) x y = x y let sub = (-) 4 /*sub 5 (* is -1 *) 4 /*sub*/ 5 (* is 1 *) Regards, Till