fp-ts-ixjs
v1.0.0
Published
fp-ts bindings for IxJS
Downloads
16
Readme
Implemented instances
Monad
Alternative
Filterable
Example
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