fp ts ixjs:IxJS的fp ts绑定 源码

上传:tear33776 浏览: 15 推荐: 0 文件:ZIP 大小:101.63KB 上传时间:2021-02-17 03:52:26 版权申诉
绑定 已实现的实例 Monad Alternative Filterable 例 import { from } from 'ix/asynciterable' import { asyncIterable } from 'fp-ts-ixjs/lib/AsyncIterableX' const fa = from ( [ 1 , 2 , 3 ] ) const fb = asyncIterable . chain ( fa , a => from ( [ a , a + 1 ] ) ) // fb will emit 1, 2, 2, 3, 3, 4 文献资料
上传资源
用户评论