optimization of list comprehensions

Bengt Kleberg bengt.kleberg@REDACTED
Fri Mar 10 13:17:15 CET 2006


On 2006-03-10 10:46, Mats Cronqvist wrote:
> 
> 
> Richard A. O'Keefe wrote:
>> [...]   
>> If funs are not used when they are *appropriate*, then it isn't
>> "perfectly fine" Erlang.
> 
>   appropriateness is in the eye of the beholder.

i apologise for entering this discussion. i have not had anything to 
offer before, and even this is probably in the ''better not written'' 
cathegory.

but, imho if somebody is doing a manual recusrsion over a list to 
''map/filter/fold'' then it isn't "perfectly fine" Erlang.
no matter how appropriate the author of the code think it is.


bengt



More information about the erlang-questions mailing list