浏览清单12,会注意到我们使用了map函数,它接受两个参数:一个函数和一个序列。
Moving inside-out in Listing 12, notice that we use the map function, which takes two parameters: a function and a sequence.
您可以翻阅这本烹调书的每一页,在食材清单中寻找蓝莓,但是这种浏览成本很高。
You could scan through every page of the cookbook and scan ingredients lists looking for blueberries, but these scans are costly.
清单2显示用于浏览管道中的容器的API。
Listing 2 shows APIs used to browse the containers in a channel.
应用推荐