Future articles will explore this flexibility in greater detail, and introduce a powerful programming technique known as list comprehensions.
在以后的文章中还将更为深入地探索这一灵活性,并介绍强大的编程技术,即列表理解。
Or, maybe best of all, you can use a syntax much akin to list comprehensions in Haskell or Python, and only operate on elements that have a desired property.
或者,或许是最好的方式,您可以使用Haskell或Python中非常类似于list comprehensions的语法,只对具有期望属性的元素进行操作。
List comprehensions provide a concise way to create lists from sequences.
列表推导式为从序列中创建列表提供了一个简单的方法。
List comprehensions provide a concise way to create lists from sequences.
列表推导式为从序列中创建列表提供了一个简单的方法。
应用推荐