fp-ts-ixjs

fp-ts bindings for IxJS

Usage no npm install needed!

<script type="module">
  import fpTsIxjs from 'https://cdn.skypack.dev/fp-ts-ixjs';
</script>

README

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