cleoold / types-linq

Standard sequence helper algorithms with full typing support
BSD 2-Clause "Simplified" License
15 stars 1 forks source link

为什么不添加map方法呢? #5

Closed Yxa2111 closed 3 years ago

Yxa2111 commented 3 years ago

稍微用了一下,感觉很多场合都需要map把一个序列变成另一个序列,如果没有的话就需要中途to_list()然后再调用map然后再构造新的Enumerable。不太了解linq,没有map是因为设计相关的问题吗?

Yxa2111 commented 3 years ago

原来是select(),那没事了