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: Robert Fischer <robert@f...>
Subject: Re: [Caml-list] Compose function for multiple parameters ?
>>> Martin
>>
>>  OK, it's far to be perfect - funny at best. But what would be the
>> right way ?
>>
>> Defining the 2 ops :
>> let ( <<- ) f g x = f (g x)
>> let ( <<-- ) f g x y = f (g x y)
>>
>> is it better ?


Many displays will turn "--" into an mdash, which will obfuscate the difference between the two
operators.

~~ Robert.