摘要: Functional Programming Tools函数化编程工具There are three built-in functions that are very useful when used with lists: filter(), map(), and reduce().列表有三个很有用的内建函数: filter(), map(), reduce()filter(function, sequence) returns a sequence consisting of those items from the sequence for which function(item) is 阅读全文
posted @ 2012-03-10 21:48 Cymbidium 阅读(229) 评论(0) 推荐(0) 编辑