lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello spir,

Saturday, December 5, 2009, 12:51:53 PM, you wrote:

> 1 action <--> 1 instruction

so, you will split "filter (<0)" into two lines? :)

>    map(filter(numbers, isOdd), square)

i think that problem here is inconvenient syntax used

numbers .filter odd .map (^2)

looks much better and easier to understand


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin@gmail.com