1. 首页
  2. 数据库
  3. 其它
  4. fp ts ixjs:IxJS的fp ts绑定 源码

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

上传者: 2021-02-17 03:52:26上传 ZIP文件 101.63KB 热度 17次
绑定 已实现的实例 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 文献资料
下载地址
用户评论