[Haskell-cafe] re: Python

Bulat Ziganshin bulatz at HotPOP.com
Tue May 31 09:06:01 EDT 2005


Hello Stijn,

Tuesday, May 31, 2005, 2:36:07 PM, you wrote:
SDS> Yes. Many people I know state the functional part as a big reason why
SDS> they chose python.

are you know Ruby? :)  it has all the same stuff, including code
blocks, which can refer to variables from outer context

for example, "arr.inject { |sum,a| sum+a }" will count sum of all
elements in array arr

-- 
Best regards,
 Bulat                            mailto:bulatz at HotPOP.com





More information about the Haskell-Cafe mailing list