Skip to content

mlegenhausen/fp-ts-ixjs

Repository files navigation

CircleCI

fp-ts bindings for IxJS

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

Documentation

About

fp-ts binding for IxJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published