Daniel Bünzli wrote:
>
> Le 26 oct. 08 à 01:08, Martin Jambon a écrit :
>
>> In performance-critical code or maybe imperative code in general, it
>> feels good to control when closures are created. In such cases, avoiding
>> local functions helps.
>
> Just to be clear, naming your anonymous func
Le 26 oct. 08 à 01:08, Martin Jambon a écrit :
In performance-critical code or maybe imperative code in general, it
feels good to control when closures are created. In such cases,
avoiding
local functions helps.
Just to be clear, naming your anonymous function locally (which is
what is r
Daniel Bünzli wrote:
>
> Le 25 oct. 08 à 14:43, Martin Jambon a écrit :
>
>> Now I generally tend to use this:
>>
>> let x =
>> List.map (
>>fun z ->
>> very_blabla
>> ...
>> ) my_list
>> in
>
> I think the best solution is to name your anonymous function, as the
> guidelines sug