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: | Karl Zilles <zilles@1...> |
| Subject: | Re: [Caml-list] Simple idea for making a function infix |
Till Varoquaux wrote: > 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 *) You mean exactly the opposite, right? # 4 /*sub 5 - : int = 1 # 4 /*sub*/ 5 - : int = -1 Pardon if I'm just not keeping up with the conversation.